Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wellpinho/restaurant-backend
project created to support the frontend of the nextjs course
https://github.com/wellpinho/restaurant-backend
Last synced: 13 days ago
JSON representation
project created to support the frontend of the nextjs course
- Host: GitHub
- URL: https://github.com/wellpinho/restaurant-backend
- Owner: wellpinho
- License: mit
- Created: 2023-12-12T16:38:46.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2023-12-15T18:03:03.000Z (11 months ago)
- Last Synced: 2024-04-23T19:10:14.795Z (7 months ago)
- Language: TypeScript
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# restaurant-backend
## ✨ Tools
- Nodejs
- [Typescript](https://www.typescriptlang.org/)
- Express
- Cors
- Prisma.io
- Postgres## 💻 Project
project created to support the frontend of the nextjs course## 🚀 How execute
- Clone this repository
- 1. `git clone https://github.com/wellpinho/restaurant-backend.git`
- 2. `cd restaurant-backend`
- 3. `npm i`
- 4. Rename the file .env-example for .env and edite the values with your DATABASE_URL
- 5. `npx prisma generate`
- 6. `npx prisma migrate dev --name init`
- 7. `npm run dev`Access the app with postman or insominia `http://localhost:5000` or `http://localhost:4000`
## Routes
http://localhost:5000/restaurantsAccess the supabase and check if your tables are created with the data.
## 📄 Licençe
MITCreated by Wellington Pinho 👋🏻
[Linkedin](https://www.linkedin.com/in/wellpinho/)
[Portfólio](https://wellpinho.com)