Skip to content

jody29/tech_team

Repository files navigation

GitHub node-current npm GitHub last commit GitHub language count

📱 Matching-app feature

🎵 Description

For Blok-Tech we have to create a feauture for a matching-webapp. We learn to work with Git/GitHub, Node.js, Express, EJS & Mongodb Atlas.

The Application

Sometimes your friends do not like the same music as you do. That means they do not enjoy the same concerts/festivals. You want to go to these events, but you know your friends won't have a good time. You do not want to bother your friends, so you are looking for people that will go with you and have a good time!

💻 How to install

Before you start, make sure you have Git, npm and Node.js installed on your computer.
Then you can install my feature by following these simple steps:

  1. Clone the repository by running this code in your terminal:
$ git clone https://github.com/jody29/tech_team.git
  1. Install all the npm packages by running this code in your terminal:
    You should see a node_modules folder in the root when it is finished.
$ npm install
  1. Create a database with MongoDB Atlas. This link will help you do it: https://docs.atlas.mongodb.com/getting-started/

  2. In your database collection you should make documents like this:

    Mongo_Team_Tekengebied 1

  3. Create a .env file in the root of the folder. Place the following code in the .env file

DB_NAME = <Here comes your databasename>
M_URL = <Here comes your URL>
SESSION_SECRET = <here comes you session key>
APIKEY = <Here comes your API key>

And then you are good to go! 👍

🌐 Deploying

We deployed our web-application with Heroku.
You can see our result here: https://music-matches.herokuapp.com/

📄 License

MIT license - 2021