Goal: Create an X and LinkedIn crossover for posting real content about your projects, semi-formally
Projects are the baseline of the app, you must have a project to post.
Anyone can comment, like, follow, despite their project count.
Some quirky names for things (frontend only)
- Projects are called 'Stream's
- Posts about projects are called 'Byte's
- Comments are called 'Bit's
- Backend/API in Go, Elixir/Scala if need big data processing
- Frontend: ReactNative and Expo
- Database: PostgreSQL or MySQL
- Host: On AWS, full system design pending
Install the following packages:
Change into the project directory:
cd /path/to/DevBits
-
Open a terminal and navigate to the database directory:
cd backend/api/internal/database
-
Launch the SQLite database:
sqlite3 dev.sqlite3
-
(Optional) Open the
create_tables.sql
file in a new terminal for reference:nvim create_tables.sql
-
Open another terminal and navigate to the backend directory:
cd backend
-
Run the API:
go run ./api
That's it! You're ready to start working with the DevBits API and database.
Install the following packages:
- Node (for running the React Native App)
Change into the project directory:
cd /path/to/DevBits/frontend
npm install
npm run frontend
In the output, you'll find options to open the app in a
- development build
- Android emulator
- iOS simulator
- Expo Go, a limited sandbox for trying out app development with Expo
Change into the project directory:
cd /path/to/DevBits/frontend
npm run all