A simple web application that owns the objective to create a database of people who want to donate blood.
- Full MVC
- Node.Js
- Express.Js
- knex.JS
- Sqlite3
- Nodemon
- Nunjucks
- User can show and hide the form.
- if any input box is null, the app will return an error message.
- User can see his first name and the blood type at the "Last donors" section.
- Fork this repo;
- Create a branch with your feature:
git checkout -b my-feature
- Commit your change:
git commit -m 'feat: My new feature'
- Push your branch:
git push origin my-feature
$ git clone https://github.com/robertokbr/Donate-Blood.git
- Install yarn or npm and run the cmd to install the dependecies.
$ yarn / npm install
- Run the migrations to start the database.
$ yarn migrations:run
- Run the server.
$ yarn/npm dev:server