Online web app designed to help you get a slot in that hard to register for course!
If you want to just use the app, skip down to the Deploying section.
If you want to help develop or play around with the code, visit the Developing section.
For random questions you may have, take a look at the FAQ section.
TODO
Short answer: PostgreSQL Database
Long answer: TODO
Short answer: React (via Create React App)
Long answer: TODO
Short answer: None (libraries used incl. express
and node-postgres
)
Long answer: TODO
TODO
- Node 12+ (may function with older versions at your own risk)
- Yarn
- An editor of your choice
- Recommended: VS Code
- Recommended: WebStorm
- Recommended: Sublime Text
- Alternative: Notepad++
- Alternative: Vim
- Alternative: Eclipse
- Git client of your choice
- Recommended: Command line client
- Alternative: Sourcetree
- Alternative: GitHub Desktop
- Ensure the required prerequisites are installed. In particular, you should be able to run
node -v
on the command line and see a version at 12 or over outputted. As well, you should be able to runyarn -v
and see a version outputted. - Clone the repository using your client of choice. If you're using the command line client, you should be able to execute
git clone [email protected]:EvilKanoa/Slotty.git
orgit clone https://github.com/EvilKanoa/Slotty.git
. - Navigate a command line into the newly cloned
Slotty
folder and install the required libraries by runningyarn
. - Open the
config.json
file and ensure that the configuration values look correct. - Done!
- Open a command line within the Slotty folder and run
yarn start
to run the development server. - The server will now be available on your local machine at the port specified within
config.json
. That is, ifport = 8080
(the default value), then you can navigate tohttp://localhost:8080
orhttp://127.0.0.1:8080
in a browser to access the site. - For testing the backend, Postman is recommended.
- Once changes have been made, run
yarn lint
before committing or pushing your changes.
To deploy Slotty, simply follow steps 1 and 2 of developing and then start the application using yarn prod
.