Thanks to visit codestin.com
Credit goes to github.com

Skip to content

thieubichchieu/cms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMS

Setup Procedure

  • Docker

    OR

  • Copy .env.example to .env

  • Get a postgres db from https://neon.tech/ (or any other provider)

  • Replace the DATABASE_URL in .env

  • Run npx prisma migrate dev to setup schema

Steps to run locally

With Docker

  • docker compose up

Without Docker

  • npm install
  • npm run db:seed to seed the database
  • npm run dev
  • Login using any userid and password 123456
  • You should be able to see some test courses

Make sure to lint and format your code before creating a PR

  • npm run lint:check to check for lint errors
  • npm run lint:fix to fix lint errors
  • npm run format:check to format the code
  • npm run format:fix to fix the formatting
  • If the code is not formatted properly, the CI will fail

Read contributing guidelines to start making contributions

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.4%
  • Other 1.6%