Giter Club home page Giter Club logo

nodepop's Introduction

NodePop

This is the software that is executed on server giving services for an app that sell second hand products.

Requirements

  1. Nodejs > v8.9.1

  2. [MongoDb] (https://www.mongodb.com/dr/fastdl.mongodb.org/osx/mongodb-osx-ssl-x86_64-3.4.10.tgz/download) > 3.4.10

Setup Locally with https

  1. Please provide a .env file with the definition of the next variables

PORT=443

NODE_ENV=development||production||seeding||testing

DATABASE_URL=mongodb://domain:xxxxx/nodepop

JWT_SECRET=xxxx

JWT_EXPIRES_IN=Xh

  1. For testing the installation of the database run
  • sudo npm run install-db

Testing

  • npm lint โ€“ Add the name of the file .js to verify
  • npm run test
  • mocha test/integration
  • mocha test/unitest
  • mocha test/instance

Start

  • sudo npm start โ€“ Start the server by default on development env.

Production Usage

The Nodepop Application is hosted on the subdomain https://nodepop.syllerim.com, under the domain:

https://13.59.209.185

https://syllerim.com

https://www.syllerim.com

Endpoints

This is the list of endpoints the user have access:

  • Create User
  • Autenticate user
  • Get All Items
  • Get Tags
  • Get Items filtered

Find in the next postman collection the list of endpoints ready for usage.

Run in Postman

Static files

Static files served on the Nodepop Application are server under the path: <nodepop>/images/fileName.png

Some examples of static files:

nodepop's People

Contributors

syllerim avatar

Watchers

 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.