Skip to content

talent-javascript-fan/Isekai-backend

Repository files navigation

How to run the app

  1. Clone the repo
  2. Run cp .env.sample .env to create a .env file at the project root directory and change the environment variables as you wish.
  3. Open a terminal in the project root and run yarn install to install the project dependencies.
  4. Run export NODE_ENV={environment} first npx sequelize db:migrate to migrate database tables. environment can be one of 3 - development, staging, production
  5. Run yarn start to start the development server
  6. Run yarn build to start the production server

Eslint and Prettier

The project is configured with Eslint and Prettier, assuming to use VSCode as IDE

  • Please use VSCode
  • Install Eslint and Prettier extensions in your VSCode
  • The project is configured to format the code lines automatically when save a file

Architecture

  • express for APIs
  • postgreSQL for database
  • morgan & winston for logger
  • dotenv for environment variables
  • sequelize as ORM for postgreSQL
  • Json web token for authentication

Check AWS CodeDeploy

  • Create CodePipleline
  • Create Application
  • Create Deployment Group

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published