- Make sure yarn is installed
$ npm install -g yarn
- At the root directory, install the server dependences
$ yarn
- At the client directory, install the client dependencies
$ cd client
$ yarn
- Back at the root directory, start the app
$ cd ..
$ yarn start
The app should be running at http://localhost:3000
Login using the predefined user:
Username: defaultuser@gmail.com
Password: password
This is an example login app with server requests--built with React and Bootstrap for the front-end, and Nodejs/Express for the API Server with Firebase Authentication. API calls are authenticated using token-based authentication. The app is also built with responsiveness in mind, so that it looks normal on different sized browsers and devices.
Note: The Firebase admin service account key should not be committed to public repositories, but it is fine for this example app.