Skip to content

Cdmpc/GetUpNGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GETUP'N'GO

This project is a bike rental simulation created with React, and Node.js using the MySQL Wokrbench GUI to visualize the Database Schema. Make sure you have the latest dependencies installed on React and also install BootStrap CSS:

npm install
npm i bootstrap@4.1.1

This project uses the UI Library PrimeReact which can be found here:

PrimeReact

To start the project: you must first install this library and make sure you have Node.js in order for React to work.

RepoDir> npm install primereact --save
RepoDir> npm install primeicons --save
RepoDir> npm install react-transition-group --save
RepoDir> npm install --save react-map-gl

/** For the backend **/
ggbackend> npm init -y
ggbackend> npm i express nodemon cors body-parser mysql mysql2 express-session cookie-parser dotenv 

/** Nodemon Allows the server to change messages on refresh rather than restarting and reopening the server */
ggbackend> npm start

/** ON THE FRONT END DIRECTORY INSTALL AXIOS **/
getupngo> npm i axios

/** INSTALLS PAYMENT INTEGRATION WITH  STRIPEJS**/
getupngo> npm i @stripe/react-stripe-js @stripe/stripe-js
ggbackend> npm i stripe

To run GetUp'N'Go FrontEnd

  1. Clone this repository onto your local machine that supports Git.
  2. Go to the getupngo directory via:
cd getupngo
  1. Run npm start, the page will render a react app on "localhost: 3000"