API built with Node.js, TypeScript, and Prisma, utilizing MySQL as the database. The entire stack is brought up using Docker Compose to ensure a uniform, controlled environment.
- Docker and Docker Compose
- Node.js (if you want to run outside Docker)
- PNPM (if you want to run outside Docker) as package manager
- Makefile in case if you want use the makefile file
- Clone the Repository
git clone https://github.com/your-username/my-project-api.git
```bash make up-dev ```
```bash make migrate ```
```bash cat .env.example > .env ```
```bash make reset ```
If you prefer not to use Docker, you can follow these steps:
- Install Dependencies
```bash pnpm i ```
- Build the Project
```bash pnpm build ```
- Run Migrations
```bash npx prisma db push --accept-data-loss ```
- Start the Server
```bash pnpm start ```