REST API for KBTI (Kamus Besar Teknologi Informasi) built with Typescript + AdonisJs 5
-
Clone the project
git clone https://github.com/CPSG-31/kbti-backend.git
-
Go to the project directory
cd kbti-backend
-
Install dependencies
npm install
-
Copy
.env.example
to.env
-
Create a database and set your database config in
.env
-
Run your mysql server
-
Run migration
node ace migration:run
-
Run seeder
node ace db:seed
-
Start the server
npm run start
To run this project, you will need to add the following environment variables to your .env file
CORS_ORIGIN='*'
- Framework : AdonisJS 5
- Database : MySQL
- API Docs : adonis5-swagger
- Linter : ESLint