Nodejs is used to create CRUD App That connects to databse. The following operations can be carried out on the app
- Create Data
- Get's the data created
- Updates the data created
- Deletes the data created
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
To use this app in a your local environment, you need to install.
- npm
npm install npm@latest -g
- Fork the repo
git clone https://github.com/udofia2/CRUDWithDatabase
- Install NPM packages
npm install
- Environmental setup
cp sample.env .env
- To start development server
npm run dev
This project can be tested using postman, insomnia etc. available routes are
-
GET / (List of created data can be fetched through this route)
-
POST / (This route is used in creating a new data)
-
PATCH / (Created Data can be edited/updated/modified through this route)
-
DELET / (Created Data can be deleted from the database through this rute)
For more examples, please refer to the Documentation
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
UDOFIA ABASIODONG - Twitter: @enalsy2 - enalsy22@gmail.com
Heroku hosted link: https://udofia-crud.herokuapp.com
Documentation Link: Documentation_
Project Link: https://github.com/udofia2/CRUDWithDatabase