A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
- Docker (https://docs.docker.com/desktop/install/windows-install/)
- Node (https://nodejs.org/en/download)
- VS Code (https://code.visualstudio.com/)
- NestJS - Back-end Framework.
- Prisma - Object Relational Mapping (ORM) Tool.
- Supabase - Database, Storage and Authentication Provider.
- PostgreSQL - Database Management System.
- Docker - Containerization Tool.
- Git/Github - Version Control.
- Clone the Repository:
git clone https://github.com/ErriekaP/expensetracker-backend.git
- Install the libraries with this command:
npm i
- Install and create the docker containers with this command (make sure that you already started your docker application, this may take some time):
npx supabase start
- If you get errors indicating that the container is unhealthy, run this instead:
supabase start --ignore-health-check
- Get supabase credentials:
npx supabase status
- Add a .env file
- Create a .env file in your root directory
- Add this to your .env file:
DATABASE_URL = DB URL SUPABASE_URL = API URL SUPABASE_KEY = anon key
- Update the database by the Prisma migrations with these commands:
npx prisma generate
Run the following commands:
- Run the NestJS backend
npm run start
- 📌 After you finish programming, run this command to stop the docker containers:
npx supabase stop
- Access Prisma Backend
npx prisma studio
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.