Skip to content

stefanhuynh98/lunchbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lunchbox

Running the application

Server

The server uses the bun runtime. See bun.sh for installation instructions.

  1. cd server
  2. Install dependencies:
bun i
  1. Pass the database credentials in /server/.env and provide a JWT secret:
DB_NAME=lunchbox
DB_USER=admin
DB_PASS=admin
DB_HOST=127.0.0.1
JWT_SECRET=[SECRET HERE]
  1. Create the database you just named.
  2. Run migrations:
bun migrate:up
  1. Run with bun dev

Client

  1. cd client
  2. Provide the backend url in .env
PUBLIC_BACKEND_URL=http://localhost:3000
  1. Run
npm i
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published