Simple question and answer forum for mathematicians.
- Built with the MEAN stack (MongoDB, Express, Angular and Nodejs)
- Link to showcase video (Youtube)
Install Angular CLI if you don't have it
$ npm install -g @angular/cliClone this repository:
$ git clone https://github.com/poh0/mathquery.gitGo to the project folder
$ cd mathqueryFill in your environment variables:
$ cp .env.example .envPORT = <Port number>
MONGO_URI = <Connection string to your mongodb server>
JWT_SECRET = <secret random string>
NODE_ENV = <production/development>Install dependencies for both backend and frontend
$ npm install && cd angular-src && npm installStart the frontend and backend in a concurrent shell
$ npm run devThen locate to http://localhost:4200
In the root of the project run the build script to create a production build
$ npm run buildStart production build:
$ npm startThen locate to http://localhost:3000