GitHub: https://github.com/michaellee8/hku-comp3322-assignment-4
- An empty MongoDB instance running in localhost:27017 with auth mechanism disabled. If you don't
have so, you may choose to install Docker and run
docker-compose up -d
in this directory, which will give you a MongoDB instance at 27017 and a MongoDB Express explorer instance at 8081. - A working latest/LTS Node.js installation, with
yarn
command available. - Latest Chrome browser installed.
- Start the MongoDB instance first.
- Open a new terminal,
cd AlbumService
yarn install
PORT=3002 yarn start
- Note that you need
PORT=3002
to prevent port collision. - Open another new terminal,
cd myapp
yarn install
yarn start
- Wait for a minute to allow the code compile itself.
- Head to http://localhost:3000 and enjoy the experience.
- This app is styled with Material UI's JSS system so you will not see any
.css
files, instead CSS rules are placed inmakeStyle
calls in React components inapp/pages
. - This app does not use React's local state for state management, instead it uses Redux with Redux
Toolkit. State management logic are therefore stored separately in
app/logic
. - Some APIs specified in the requirement is modified to improve usability.