This project was developed as part of GovTech's GDS ACE Tech Assessment, over a span of two evenings. The User Interface isn't the best at the moment, but the main requirements were met.
This project was bootstrapped with Create React App.
- Have Node installed
- To install Node, go to https://nodejs.org/en/
- Open 2 terminals, one for client (frontend) and one for server.
- For the first terminal, navigate to
server/folder.- Run
npm installto install the relevant packages. - Obtain the
passwordfrom owner and edit theconfig.envfile located inserver/config.env - Replace
admin:<password>with the actual password - Once done, run
node server.js - You should be able to see
Server is running on port: 5000
- Run
- For the second terminal, navigate to
client/folder- Run
npm installto install the relevant packages. - Once done, run
npm start - Open http://localhost:3000 to view it in your browser.
- Run
- For simplicity, I have assumed that the 12 teams competing in this football championship have distinct names.
- Due to time constraints, I have also assumed that the input provided for
Team InformationandMatch Resultsare correct and are given in the form as shown in the test cases. - I have assumed that all the team information (of the 12 teams) would be added first before the match results are added.
- MongoDB
- Express
- React
- Nodejs