This is an API to manage data company, goods stock and its transactions.
This starter project already contains some basic library like:
- Express
- Already installed PostgreSQL
- Already installed Bycript
- Already installed Nodemon
You need to install required dependencies (libraries) by typing in the terminal
npm install
Then you can run this project by:
- Using node
npm start
- Using nodemon
npm run dev
This project uses environment variables likes :
- DB_USERNAME=""
- DB_PASSWORD=""
- DB_DATABASE="kickin"
- DB_HOST=""
- PORT=
- JWT_SECRET=""
Auto import can be used in all of controller, middleware, and helper functions
ifabula/database.sql
https://documenter.getpostman.com/view/13002065/Uyr7Hdmr
The answer for code test available under logicRoute :
- {{url}}/api/fibonacci
- {{url}}/api/longestword