A simple RESTful API built with Express.js, MySQL, and Prisma ORM.
- RESTful API structure
- MySQL database integration
- Prisma ORM for database access
- Modular routing & controllers
- Environment variable configuration via
.env&.env.local - Logger middleware
- Nodemon for development
- Clone the repo
git clone https://github.com/mirachcommunity/mirachcommunity-api.git
cd mirachcommunity-api
npm install
cp .env.example .env
cp .env.local.example .env.local
# Edit the .env.local with your DB credentials
npx prisma migrate dev --name init
npm run dev