Skip to content

Thdeathz/next-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next-express starter template

Tech stacks

Frontend

nextnextnextnextnextnext

Backend

expressprismapostgresredispassportnodeMailer

System requirements

  • Docker >= 20.10
  • Docker compose plugin
  • Node >= 18.0

Setup and Configuration

  1. Start docker container:
make devup

This will create a .env file in the root directory. You can configure environment variables in this file according to your needs.

  1. Install dependencies:
make devinstall
  1. Migrate and seed dummy data
make prisma-generate
make prisma-migrate
make prisma-seed

Usage

To start the application locally, use the following command:

make devrun

The application will be accessible at:

Stop application:

make devdown

Production mode:

make build
make prod-up

License

This project is licensed under the MIT License.