- Nodejs
- Typescript
- Express
- Cors
- Prisma.io
- Postgres
project created to support the frontend of the nextjs course
- Clone this repository
-
git clone https://github.com/wellpinho/restaurant-backend.git
-
cd restaurant-backend
-
npm i
-
- Rename the file .env-example for .env and edite the values with your DATABASE_URL
-
npx prisma generate
-
npx prisma migrate dev --name init
-
npm run dev
Access the app with postman or insominia http://localhost:5000
or http://localhost:4000
http://localhost:5000/restaurants
Access the supabase and check if your tables are created with the data.
MIT