is another application made by express.js,
badge levels and application systems can only be checked once a day,
if the check-in meets the requirements then the level will go up and if the level meets the badge requirements will go up
or checkin users must first log in otherwise they will not be able to
- postman
- web server (xampp)
- text editor (visual studio code)
- crome
add the .env file to your project then copy the code below
NODE_ENV=development
HOST_DB='localhost'
USER_DB='root'
PASSWORD_DB=''
DATABASE_DB='game'
ALGORTIHM = 'aes-256-ctr'
PASSWORD_ALGORITHM = 'd6F3Efeq'
- git clone https://github.com/rionmingarfin/test-oxa.git
- open text editor
- run the web server and mysql application,example
xampp
- import db game in phpmyadmin
- open terminal in CMD or terminal text editor(visual studio code)
- type
npm install
- tambahkan .env
- type npm start
- open postman and run it with port
4000
note before adding the env first
get('/')
post('/api/v1')
get('/api/v1')
patch('/api/v1/:id')
delete('/api/v1/:id')
- `post('/api/v2')
- `get('/api/v2')
- `patch('/api/v2/:id')
- `delete('/api/v2/:id')
- `post('/api/v3')
- `post('/api/v3/login')
- `delete('/api/v3/:id')
- `get('/api/v4',)
- `get('/api/v4/:id')
- `patch('/api/v4')