You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
yikth 086267e561 add API validation check 5 years ago
backend install cors locally in backend project 5 years ago
frontend update frontend App.js 5 years ago
nusmoney add nusmoney 5 years ago
nusmoney_backend add API validation check 5 years ago
nusmoney_client add and delete user 5 years ago
FintechSG-FrontendBackend.JPG consolidate notes 5 years ago
README.md consolidate notes 5 years ago
fullstack.md consolidate notes 5 years ago
homepage.JPG consolidate notes 5 years ago
nusmoney.md consolidate notes 5 years ago
readme.txt create nusbank backend project 5 years ago

README.md

Frontend - Backend

Server Client Project

Prerequisite

  • Run cmd in administrator mode
  • npm - node package manager
  • Install React for frontend
$ npm install -g create-react-app
  • Install express for backend
$ npm install -g express-generator
  • Install cors ??for backend
$ npm install -g save cors

Prepare Client (Frontend)

  • run npx (node package execute) from command line
$ npx create-react-app frontend
  • navigate to frontend folder. start
$ cd frontend
$ npm start

Prepare Server (Backend)

  • run from command line
$ express --view=pug backend
$ cd backend

// optional : something global install not working
$ npm install cors

// install dependencies defined in package.json
$ npm install
  • navigate to backend folder. start
$ cd backend
$ npm start

Example

  1. NUSMoney frontend
  2. Fullstack process