1.0.0 • Published 4 years ago
dealcrane-web-app v1.0.0
DealCrane Web App
This stores the Next.js + React code for the web app. Next.js allows server-side rendering React apps, like older frameworks, except with the power of a Javascript framework.
Next.js runs on a Node.js Express server, so it is able to grab data from both client-side and server-side.
- Web app to sign up, login, browse deals, search deals, manage alerts
- Company information
- Mobile app information
Useful Commands
Install Yarn on Mac:
brew install yarn
Install all dependencies:
yarn install
Run dev server on localhost and port 3000:
yarn dev
Create production build:
yarn build
Run prod server on port 3000 after build:
yarn run next start -p 3000
Lint and fix all files:
yarn eslint . --ext .js,.jsx,.ts,.tsx --fix
Run Jest tests:
yarn test-jest
1.0.0
4 years ago