Skip to content

Drownie/Backend-Express-Codebase

Repository files navigation

Backend Express Codebase

This is template for backen express application. You can fork or clone this template.

Requirement

Engine : Node >= v18.0

How to Start?

  1. Install Dependency

    npm install
  2. Start DB

    You can use db from docker in compose.yml or use your own db

  3. Create env

    You need to create an env file in the root. For example of the env you can look from .env.example. The default env file name is .env.dev.

  4. Create Migrations

    You need to run this migrations to create a sample db.

    npm run migrations:dev:gen // Generate Migrations
    npm run migrations:dev:run // Apply Migration to DB
  5. Run the development

    To run the development env, you can run this bash command.

    npm run local:dev:watch

About

Backend Express Codebase

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published