Skip to content

j-shim/MEAN-Stack-Server-Summer-2019

Repository files navigation

Canorea (Study Abroad Agency)

This repository is the server-side of the private/business project for Canorea (Study Abroad Agency for Koreans to study in Canada).

For production-ready web application, click here.

Setup

You will need Git, Node.js (Version 12.16.1 or later) and NPM (Install with Node.js) installed on your machine.

macOS with Homebrew Package Manager

Open up a Terminal and type:

brew update
brew install node git
sudo npm install -g npm

Cloning this repository onto your local machine

Open up a Terminal, cd to your preferred directory and type:

git clone [email protected]:j-shim/MEAN-Stack-Server-Summer-2019.git

Note: If git clone fails, confirm that your SSH Key is set up and registered properly.

Usage

Development Server

Open up a Terminal, cd to the repo and type:

sudo npm install -g npm # updates npm
sudo npm install # installs node modules
npm run start:dev # alias for nodemon server.js

Note: Config file is required (e.g. .env).

If successful, the output should be similar to:

Server is up and running on port 3000!
MongoDB connected successfully!

Production

See setup script setup.sh.

Author

Releases

No releases published

Packages

No packages published