Full stack social media app with the ability to login and sign up and create and view posts
orbit/ ├── server/ ├── client/
Make sure you have Bun installed on your machine.
- Navigate to the Server Directory:
cd server
- Install Dependencies:
bun install
- Run Database Migrations:
Run the following command to create your database migrations. You can use
init
ormain
as the migration name.bun prisma migrate dev --name <your-migration-name>
Replace
<your-migration-name>
with eitherinit
ormain
. - Start the Server:
For development:
bun dev
For production:
bun start
- Navigate to the Client Directory:
cd ../client
- Install Dependencies:
bun install
- Run the Client:
For development:
bun dev
- Build the Executable:
When you're ready to create a production build:
bun build