Coder Social home page Coder Social logo

steinberg99 / dogemeet Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 2.9 MB

Even wanted to play Tinder with your cute dog? Well then you're in the right place! Welcome to DogeMeet.

License: MIT License

JavaScript 32.87% Pug 28.12% SCSS 17.30% CSS 21.70%

dogemeet's Introduction

Logo banner

DogeMeet

Welcome! This is the repository for our matchings application made for project-tech. We worked on a website called DogeMeet. DogeMeet is a machtigings platform made for dog owners. During this project we worked on various features for the web application.

The concept

With the help of DogeMeet dog owners can connect with each other based on their beloved four legged friends! Users can, in a similar way to Tinder, swipe through other users' dogs. When two people like each other's dogs they can chat with each other. Dog owners can for example meet up to go for a walk.

Design banner

How to install

NOTE: Before you can install DogeMeet be sure to have both Node.js and NPM installed. NPM should automatically be installed when installing Node.js.

You can install the project locally by running the following command in your local folder.

  • git clone https://github.com/Steinberg99/project-tech

Before you can run DogeMeet you need to create your own database using MongoDB Atlas. You can easily create this database by following this tutorial. Once you have created a cluster with a database you need to create these four collections inside your database.

  • users
  • doggos
  • locations
  • chat_logs

You can find example data for these collections here. We use a program called MongoDB Compass to fill these collection with the example data. The chat_logs collection will be filled by the server.

NOTE: The names of the collections are very important, they should be named exactly as mentioned above.

Once you have created the database you need to create a .env file in the root folder. This .env file should contain two variables.

  • DB_URI. The connection string used to connect with the cluster. This is the same link that you used when adding your cluster in MongoDB Compass.
  • DB_NAME. The name that you gave your database.
  • USER_ID. The object id of the user you want login with. This object id should be in the form of a string.

An example of this .env file.

DB_URI=place_connection_link_here
DB_NAME=place_database_name_here
USER_ID=place_user_object_id_here

NOTE: Make sure that you include this .env file in your .gitignore. Never upload these sensitive types of information on GitHub. More information about .gitignore can be found here.

When you have cloned the repository, created the database and the .env file be sure to run the command npm install to install all of the project dependencies. Run this command in the root folder of the project. When you have done this you can run the command npm start to start DogeMeet. DogeMeet currently only works for mobile screens so be sure to select a mobile screen size using the inspector in Google Chrome (Option + โŒ˜ + J on macOS or Shift + CTRL + J on Windows). The website should run in the browser when visiting localhost:4200.

Technologies

DogeMeet makes use of the following technologies:

License

MIT License

dogemeet's People

Contributors

markvheusden avatar nataschazw avatar steinberg99 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

shakirahadjih

dogemeet's Issues

npm ERR! code ELIFECYCLE error

After closing nodemon with ctrl+c i get this error message:

npm ERR! code ELIFECYCLE
npm ERR! errno 130
npm ERR! [email protected] start-server: nodemon server.js
npm ERR! Exit status 130
npm ERR!
npm ERR! Failed at the [email protected] start-server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

How can i resolve this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.