Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 568 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 568 Bytes

cmu_blog_nuxt3_api

CMU Blog API only with CMU Oauth2, Microsoft 365 and another on Node.js

Setup Environment

# Copy Example ENV
$ cp .env.example .env

# Update ENV & Save
$ nano .env

Database Migration

# Migrate your database
#(require global "npx" if not, please install $ npm install -g npx )
$ npx sequelize-cli db:migrate

Build Setup

# Install api dependencies
$ npm install

# Serve with hot reload at localhost:5000
$ npm start

Docker Compose

# Build docker
$ docker-compose up -d --build