Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.16 KB

README.md

File metadata and controls

57 lines (38 loc) · 1.16 KB

Discgolf Hole of the year 2021 🥏 🇨🇿

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.

Deployment

This app is still under development and will be deployed in November 2021.

To run this app

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.

Original code 💻

All the code you find in this repository I wrote from scratch.