Git Product home page Git Product logo

postal-codes-backend's Introduction

Postal Backend

SUMMARY

This project provides all postal codes of spain. It have mysql database with all the information, you only need to import it. The server have end-point's to get the information, you can read the tests to know how it works.

COMMANDS

npm run install

Use this command to install all dependencies.

npm run dev

This command start the server on development mode. So it will be start using nodemon. Sure that you have this dependency installed.

npm run build

This command builds the project sources.

npm run start

This command start the server on production mode. On this case it start using node js.

STEPS:

1) Install mysql on your computer. The version of this database is 8.0.14

2) Use MYSQLWorkbench to synchronize the database model.

3) The database model is /database/postal.mwb

4) Execute the sql scripts to insert all the data.

5) All the scripts are in /database/dump

6) Run npm install, to install all the dependencies

7) Run npm run start to start the server.

8) Use postman to test that server works well.

postal-codes-backend's People

Contributors

dependabot[bot] avatar oussamaalouat avatar

Stargazers

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