Coder Social home page Coder Social logo

basic-api-server's Introduction

basic-api-server

Live Deploy

Heroku

Deployment

Your server must be deployed at Heroku. If it requires a database, provision it. For APIs, your endpoints should all be testable remotely using an HTTP REST client. For Web Servers, your website must be reachable.

How do I install the app or library? Clone this app and install all dependencies.

How do I test the app or library? Run "NPM test" in the terminal once all dependencies are installed.

For Applications: How do I run the app? Run nodemon or node (whatever file you have the start in. In my case it is index.js) How do I set up the app? I set up the app with Heroku

Testing

Write a complete set of tests for all data models, independent of the server Use an in-memory SQL dialect to test your Postgres Models. For testing the server and routes, make sure you initialize the database before your tests run. What we’re testing is not whether express works, but whether your routes are doing the correct things. Your tests must be running green on Github Actions. TESTS

Documentation

Contributions

Jordan Yamada - Helped a lot with the understanding, and the process of making or finishing this Lab Jeffrey Smith - Helped a lot with starting the Lab. He also explained with understanding the basics of the whole express and SQL better.

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.