Skip to content

poh0/mathquery

Repository files navigation

Mathquery

Simple question and answer forum for mathematicians.

Run locally:

Install Angular CLI if you don't have it

$ npm install -g @angular/cli

Clone this repository:

$ git clone https://github.com/poh0/mathquery.git

Go to the project folder

$ cd mathquery

Fill in your environment variables:

$ cp .env.example .env
PORT = <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 install

Run development

Start the frontend and backend in a concurrent shell

$ npm run dev

Then locate to http://localhost:4200

Run production build

In the root of the project run the build script to create a production build

$ npm run build

Start production build:

$ npm start

Then locate to http://localhost:3000

About

Question-answer forum for mathematicians. My LUT Fullstack-course project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published