The project allows users to consult if whether or not their car can be on the road based on their license plate number.
It receives as inputs the license plate number(the whole number e.g., PBX-1234), a date (as a String), and a time.
The project was done with JavaScript, NodeJs, and Express.js.
project-root/
├── specs/ # Folder with all project specifications
├── src/ # Root source code directory
│ ├── controllers/ # Folder with project controllers
│ ├── models/ # Folder with project models
│ ├── public/ # Folder with all static files
│ ├── utils/ # Folder with reusable functions
│ └── views/ # Folder with project views
├── .gitignore # Git ignore file
├── README.md # The main README file
├── app.js # Main JavaScript file
├── package.json # Node.js package configuration file
├── eslintrc.json # ESLint rules configuration file
└── .editorconfig # Editor configuration file
- Axios
- Jest
- Luxon
The project was designed with TDD methodology (Test Driven Domain).
- Run the command:
npm init
- Run:
npm install
- To install jest run:
npm install --save-dev jest
- Use the command:
npm run test
- Run development:
npm run dev
- Go to localhost:3000 on your browser