This is a simple address book. you can create, update, delete and manage contacts.
- Ruby
- Ruby on Rails
- SASS
- Webpack
- JavaScript
- To get a local copy up and running follow these simple example steps.
- Clone this repo
- Navigate into project directory and open this project in your editor.
- Then run
bundle install
to install all gems. - If gems are installed successfully, then run
rails db:migrate
to create all tables. - Finaly run
rails server
to start the server.
Now you can use any API development tool like Postman to test the Endpoints.
NOTE: The server will be running on port http://localhost:3001/
and the following is the list of all available routes.
Endpoint | Methods | Functionality |
---|---|---|
/contacts | POST | Create contact |
/contacts | GET | Get all contacts |
/contacts/:id | GET | Get single contact |
/contacts/:id | DELETE | Delete contact |
/contacts/:id | PUT/PATCH | Update contact |
👤 Rukundo Eric
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- My thanks also goes to Microverse and all our peers and colleagues there.
This project is MIT licensed.