The discgolf hole of the year 2021 is app being developed using the NodeJS (Express) and MongoDB (Mongoose). The goal of this app is to choose the most beautiful discgolf hole currently located in the Czech Republic. This contest is being organized by www.prodiscgolf.cz. Please be aware of the fact that it is Czech contest so all the text is in Czech.
This app is still under development and will be deployed in November 2021.
Clone the project
git clone https://github.com/samueldusek/hole-of-the-year.git
Go to the project directory
cd hole-of-the-year
Install dependencies
npm install
Create .env file in root and set all the environment variables
DB_URL =
DB_NAME =
SESSION_NAME =
SESSION_SECRET =
PORT =
Seed the database
cd seeds
node app.js
Start the server and the app
cd ..
nodemon app.js
You must have MongoDB and NodeJS installed on your PC.
All the code you find in this repository I wrote from scratch.