- Authorize API requests using Basic Auth.
- Produce formatted log for every requests.
- Store data in MariaDB
npm install
- Setup database connection in app.js:
const sequelize = new Sequelize('{DB_NAME}', '{DB_USER}', '{DB_PASSWORD}', {
host: '{DB_HOST}',
port: {DB_PORT},
dialect: 'mariadb'
})
- Start server:
npm start
- Run with nodemon:
npm start-nodemon