jportella93 / find-a-hobby-server

Looking for a hobby? The find a hobby app will recommend the best hobbies for you!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A web app that will help you discover the most amazing thing to spend your leisure time on.

This is the server implementation of
https://github.com/jportella93/find-a-hobby-client

Getting started

Install mongodb and redis in your computer if you don't have done it already.
https://www.mongodb.com/
https://redis.io/

  1. Clone the repo
$ git clone https://github.com/jportella93/find-a-hobby-server.git
$ cd find-a-hobby-server
  1. Install dependencies
$ npm install
  1. Start redis database
$ redis-server
  1. In a new terminal window (keep the other one also open): Start mongodb database
$ mongod
  1. In a new terminal window (keep the other two also open): Start development server
$ npm run start

If everything went good you will see a message like:

Mongoose connected to mongodb://localhost/find-a-hobby
find a Hobby! Server connected on port 3000

The number of the port that logs in (3000 in this case) is what you have to write in the client in the file /src/lib/apiClient.js

  1. Connect with client. Go to https://github.com/jportella93/find-a-hobby-client and follow the getting started instructions.

Built with

Author

Jon Portella - Github - LinkedIn

License

This project is licensed under the MIT License.

About

Looking for a hobby? The find a hobby app will recommend the best hobbies for you!

License:MIT License


Languages

Language:JavaScript 100.0%