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
Install mongodb and redis in your computer if you don't have done it already.
https://www.mongodb.com/
https://redis.io/
- Clone the repo
$ git clone https://github.com/jportella93/find-a-hobby-server.git
$ cd find-a-hobby-server
- Install dependencies
$ npm install
- Start redis database
$ redis-server
- In a new terminal window (keep the other one also open): Start mongodb database
$ mongod
- 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
- Connect with client. Go to https://github.com/jportella93/find-a-hobby-client and follow the getting started instructions.
- Koa - Async middleware for Node.
- Reccomendation Raccoon - Recommendation engine.
- node-jsonwebtoken - JSON web token implementation for Node.
- Mongodb - No relational database.
- Mongoose - Layer for mongodb.
Jon Portella - Github - LinkedIn
This project is licensed under the MIT License.