Giter Site home page Giter Site logo

maintenance-tracker's Introduction

Build Status

Coverage Status

SYNOPSIS

Maintenance Tracker App is an application that provides users with the ability to reach out to operations or repairs department regarding repair or maintenance requests and monitor the status of their request. This project was done so as to build a fully functional maintenance tracker app.

CODE EXAMPLE

Here is a simple API that displays all the request of an already signed in user

const requests = [{ id: 0, title: 'Bad Engine' }, { id: 1, title: 'Broken mirror' }, { id: 2, title: 'Fix my tyres' }];

app.get('/api/v1/users/requests', (req, res) => { // Fetching all requests

res.send(requests);

});

MOTIVATION The aim of this project was to create an app to deal with requests. The main reason was to learn and develop myself as a software deeloper.

Built with

Here is a list of resources you need to create this app.

Node.js, Express, Editor of your choice (VScode was used), Eslint, Babel, Mocha, airbnb, HTML, CSS

Tests

Find an example of the tests ran below

describe('GET/ requests', () => {

it('should GET all the requests', (done) => {

chai.request(app)

.get('/api/v1/users/requests')

.end((err, res) => {

res.should.have.status(200);

res.body.should.be.a('array');

res.body.length.should.be.eql(3);

done();

});

});

});

Contributors

Timi Akinrimisi

License

maintenance-tracker's People

Contributors

timiakin 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.