Skip to content

Server Side App for Content Management System using NestJS Framework

Notifications You must be signed in to change notification settings

mr-ben-jeckson/cms-nest-api

Repository files navigation

Nest Logo

Welcome to Nest CMS server!

Nest-CMS-api is a fully REST api server for content management system using Prisma ORM with Mysql Database.

For NestJS Documentation

Visit the NestJS Documentation to learn more about the framework.

Installation

# download
$ mkdir your project // create new folder
$ git clone git@github.com:mr-ben-jeckson/cms-nest-api.git

# installation
$ cd your-project-directory
$ npm install

# perparation
$ cat .env.example // copy .env.example content
$ nano .env // create new .env file

# create new mysql database and set DATABASE_URL in .env
$ npx migrate dev
$ npm run seed

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod