Coder Social home page Coder Social logo

trashable-server's Introduction

Trashable API

Backend for Trashable app.Made by Andrei and Dragos.Link to DB Model.

Table of contents

Project Structure:

.
├── db
│   ├── migrations
│   │       Migration files.
│   └── seeds
│           Seed files.Run alphabetically.
├── knexfile.js (knex config file)
├── package.json
├── package-lock.json
├── README.md
├── ROUTES.md
├── src
│   ├── api
│   │   └── 0.1
│   │       ├── city
│   │       │   ├── city.model.js (Holds the Objection(ORM) model)
│   │       │   ├── city.route.js (Express route for /api/city/ routes)
│   │       │   └── city.schema.json (JSON schema for validation)
│   │       ├── county
│   │       │   ├   same structure
│   │       ├── trashcan
│   │       │   ├   same structure
│   │       ├── trashcanType
│   │       │   ├   same structure
│   │       └──router.js (Express router for /api/ routes)
│   ├── app.js (Express app)
│   ├── constants (self explanatory)
│   │   ├── cities.json
│   │   ├── counties.json
│   │   ├── tableNames.json
│   │   └── type.json
│   ├── db.js (db conection.Needs to be invoked in app.js in order to be sure it is alive)
│   ├── index.js ( makes app.js listen on a port)
│   └── middlewares.js (404 and general error handler)
└── tests
    └── app.test.js

trashable-server's People

Contributors

andrei-io avatar dependabot[bot] avatar dragos49903 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.