GithubHelp home page GithubHelp logo

tsatsan / icook4me Goto Github PK

View Code? Open in Web Editor NEW

This project forked from franlopezm/icook4me

0.0 1.0 0.0 2.55 MB

Project based on a social network where recipes are shared. Technologies used: AngularJS, HTML5, CSS3, Bootstrap, ExpressJS, others

Home Page: https://icook4me.herokuapp.com

CSS 29.44% HTML 28.42% JavaScript 42.14%

icook4me's Introduction

Skylab

AngularJS AngularJS NodeJS MongoDB

Bootstrap Bower SASS Standard - JavaScript Style Guide

iCook4me

This repo contains full-stack project iCook4me in which users can share and search for kitchen recipes.

iCook4me is made with NodeJS and ExpressJS for the part of the server, and the client part is made with AngularJS.

Installation

You need to have installed NodeJS with npm, bower and MongoDB

Configuration env file

You need to create an .env file in the project root with the following environment variables configured:

  • Port:
    PORT=3000
  • Mongodb path and database to use:
    DB_URI=mongodb://localhost:27017/NAME_DB
  • Secret word to encrypt users' passwords:
    SECRET=XXXXXXXXXXXXXXXXXXXXXX
  • API key to upload images to cloudinary:
    UPLOAD_FOLDER=upload
    CLOUDINARY_NAME=XXXXXXX
    CLOUDINARY_API=XXXXXXXXXXXXXXXXXXXXXX
    CLOUDINARY_API_SECRET=XXXXXXXXXXXXXXXXXXXXXX
  • API key to get food2fork and edaman external recipes
    FOOD2FORK_API_KEY=XXXXXXXXXXXXXXXXXXXXXX
    EDAMAM_API_KEY=XXXXXXXXXXXXXXXXXXXXXX
    EDAMAM_APP_ID=XXXXXX

To run the server:

    npm start

All dependencies will be installed automatically

API

The server part has multiple Api endpoints using several routes:

/api -> Serves the internal data of the users and recipes. /auth -> Serves the authentication options, register and login. /proxy -> Serves the external recipes. /uploadImg -> Serves the routes to upload pictures.

Built with:

  • SublimeText
  • Front-end
    • AngularJS 1.6.3
    • Angular-route: 1.6.3
    • Angular-jwt: 0.1.9
    • NgInfiniteScroll: 1.3.4
    • Ng-file-upload-shim: 12.2.13
    • Ng-file-upload: 12.2.13
    • Bootstrap: 3.3.7
    • Font-awesome: 4.7.0
  • Back-end
    • express: 4.15.2
    • dotenv: 4.0.0
    • get-json: 0.0.3
    • body-parser: 1.17.1
    • jsonwebtoken: 7.3.0
    • mongoose: 4.9.0
    • passport: 0.3.2
    • passport-jwt: 2.2.1
    • passport-local-mongoose: 4.0.0
    • bower: 1.8.0
    • multer: 1.3.0
    • cloudinary: 1.8.0
    • del: 2.2.2

Authors

Francisco López

References

icook4me's People

Contributors

franlopezm avatar

Watchers

James Cloos avatar

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.