This is a Restful API repository for Circle. This Restful API is built using ExpressJS and PostgreSQL.
- Clone this project with
https://github.com/andry-pebrianto/circle-api.git
- Install package required with
yarn
- Setting .env
NODE_ENV=
PORT=
DB_HOST=
DB_PORT=
DB_USERNAME=
DB_PASSWORD=
DB_NAME=
JWT_SECRET=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
AMQP_SERVER=
REDIS_PORT=
REDIS_HOST=
REDIS_PASSWORD=
- Migrate database using
yarn run migrate:up
- Run program with
yarn run dev
for development andyarn run start
for production (must be compiled first withyarn run compile
)
Contributors names and contact info:
- Andry Pebrianto
This project is licensed under the MIT License - see the LICENSE file for details