DylanGore / WebAppDev2-Assignment

Web App Dev 2 Assignment

Home Page:https://dylangore-wit-webappdev2.web.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

B.Sc (Hons.) Level 8 - Assignment 2 - Web API

Name: Dylan Gore

React App README

Live Demo of Complete Project

Overview

The is the API portion of the project management app. For full details on the React Web App, please see the link above.

API Features

  • MongoDB Connection
  • Full CRUD Capabilities
  • Firebase Token Authentication
  • Testing of Mongoose Schemas

Running the API - Development

The API can be run in development mode by running:

npm run dev

which will lint the files and will run the server using nodemon to watch for changes The defualt port to access the API is 3002.

Deploying to production

This project is setup to be deployed to Heroku but can also run on other services.

Heroku

Simply run:

heroku create && git push heroku master

Other

To deploy to a linux host, run:

npm run start

PM2 or similar is recommended.

The react app must be built first if running everything behind Express.

If the react app is being run in development mode, there is no need to build it first.

About

Web App Dev 2 Assignment

https://dylangore-wit-webappdev2.web.app/


Languages

Language:JavaScript 96.9%Language:CSS 1.6%Language:HTML 1.5%