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.
|
|
5 years ago | |
|---|---|---|
| backend | 5 years ago | |
| frontend | 5 years ago | |
| FintechSG-FrontendBackend.JPG | 5 years ago | |
| README.md | 5 years ago | |
| fullstack.md | 5 years ago | |
| homepage.JPG | 5 years ago | |
| nusmoney.md | 5 years ago | |
README.md
Frontend - Backend
Server Client Project
Prerequisite
- Run cmd in administrator mode
- npm - node package manager
- Install
Reactfor frontend
$ npm install -g create-react-app
- Install
expressfor 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
frontendfolder. 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
backendfolder. start
$ cd backend
$ npm start