https://github.com/delicelydia/my_diary
My Diary is an online journal where users pen down their thoughts and feelings.
https://github.com/delicelydia/my_diary
postgresql rails ruby
Last synced: 11 months ago
JSON representation
My Diary is an online journal where users pen down their thoughts and feelings.
- Host: GitHub
- URL: https://github.com/delicelydia/my_diary
- Owner: DeliceLydia
- Created: 2022-03-14T07:33:14.000Z (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2024-09-24T13:24:02.000Z (almost 2 years ago)
- Last Synced: 2025-03-28T05:42:44.574Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MyDairy
My Diary is an online journal where users pen down their thoughts and feelings.
## Features
- User will be able to create a new account
- User will be able to login
- User will be able to create an entry
- User will be able to delete his/her entries
- User will be able to edit an entry
## Built With
- Ruby
- Rails
- JWT
- Bcrypt
## API ENDPOINTS
| Ressource URL | Methods | Description |
| ------- | --- | --- |
| /api/v1/entries| POST | posting an entry |
| /api/v1/entries| GET | Getting all entries|
| /api/v1/entries/:id| GET | Getting an entry by ID |
| /api/v1/entries/:id | DELETE | deleting a specific entry |
| /api/v1/entries/:id | PUT| Get the user to modify an entry |
## Deployment
```
Heroku
```
## Heroku
[Check it live]()
## Getting Started
### Prerequisites
To get this project up and running locally, you must already have ruby and necessary gems installed on your computer
To get this project set up on your local machine, follow these simple steps:
- Open terminal
- Clone the repository ``` https://github.com/DeliceLydia/my_diary.git```
- Cd in the project ``` my_dairy ```
- Run ``` bundle install ```
- Run ``` rails db:create ```
- Run ``` rails db:migrate ```
- Install webpacker by running ``` bundle exec rails webpacker:install ```
- Seed the database by running ``` rails db:seed ```
- Start your server ``` rails server ```
- Run the app ``` http://localhost:3000/ ```
## Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/DeliceLydia/online-class-reservation-apis/issues).
## Author
👤 **Delice Lydia**
- GitHub: [Delice Lydia](https://github.com/DeliceLydia)
- Twitter: [Delice](https://twitter.com/IngabireLydia)
- LinkedIn: [Delice Lydia](https://www.linkedin.com/in/delice-lydia/)
## Show your support
Give a ⭐️ if you like this project!
## License
This project is [MIT](https://github.com/DeliceLydia/online-class-reservation-apis/blob/master/LICENSE) licensed.