Skip to content

markboatman/event-booking-front

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN STACK frontend.

  • This project was bootstrapped with Create React App.

  • This app allows a user to create and book events. It accesses an express graphQL api running on heroku that uses mongoDB and mongoose to persist data related to users and events.

  • This frontend app is an enhanced version of this tutorial.

Run the app

In a terminal in the project directory you can type: 'npm start'

This Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser. The port can be changed by defining and setting "PORT=nnnn" in a .env file in the project directory.

Build the app for production

Type: 'npm build' Generates the app for production. Puts it in the `build` folder. It correctly bundles React in production mode and optimizes the build for the best performance.