moh3a / eoms

Enhanced Order Management System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhanced Order Management System

Getting Started

  • Create a .env file;
  • Copy .env.example into .env and fill in the required fields for the database connection. By default, SQLite is used, if you want to change it, provide the connection URL in .env and change provider field in ./prisma/schema.prisma accordingly;
  • Generate a JWT secret by running and add it to .env
openssl rand -base64 32
  • Run the migration, seed your database and build by running
pnpm install
pnpm migrate
pnpm build
  • Start the server
pnpm start
# or npm run start
  • Server should be running in http://localhost:3000
  • While the server is running, the OpenAPI documentation can be found when navigating in a browser to http://localhost:3000/docs

About

Enhanced Order Management System


Languages

Language:TypeScript 96.0%Language:JavaScript 4.0%