Giter Site home page Giter Site logo

jobly-backend's Introduction

Jobly

Description

This is an exercise to create a creating a full stack web application called Jobly, which will be used to explore and "apply" for jobs online (no, these aren't REAL jobs).

The goal of this project is to create a API with similar functionality to LinkedIn but on a smaller scale. You'll make a queryable API for companies, add in database tables for users, companies and jobs, and add in authentication and authorization!

The design of this project is to be an API where all responses are returned in JSON format.

The main routes of this project include:

  1. Companies Routes - allow full CRUD
  2. Jobs Routes - allow full CRUD
  3. Users Routes - allow full CRUD

All of the above sections are validated with json schema. Classes and class methods have been created for each table to allow for standard CRUD operations.

Installation

npm install

Seed

npm run seed

note: the date file is set up to create the jobly and jobly-test database. It will also create the tables in both databases and seed the jobly database.

Usage

npm start

If you want to test the seeded jobly database with an API testing tool such as postman or insomnia you can login and save the token or use the below provided token. The majority of routes request a _token to be send via JSON.

janeDoe token =
{"_token" : "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImphbmVEb2UiLCJpc19hZG1pbiI6ZmFsc2UsImlhdCI6MTU5NzI1MDY0NH0.LJuKkeCwN-JHhLkOz4FwwFaEy4YVNajK536q9e4sxMQ"}

Tests Build Status

npm test

jobly-backend's People

Contributors

clay099 avatar

Watchers

 avatar

Forkers

matheusjacob

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.