- NodeJS 18.x
- MongoDB
1. Clone this repository
git clone https://github.com/wyakaga/moai-warnet-express.git
2. Change the working directory into folder directory
cd moai-warnet-express
3. Install with npm
npm install
4. Create .env file
DATABASE_URL = [your MongoDB url]
5. Seed database
npx prisma generate
npx prisma db seed
6. Run with npm
npm run dev
Take a look at the scheme.prisma
file
Take a look at the postman collection to run the API by import it