SageAuthors is a platform for creating and sharing blog posts.
- pending
- pending
- pending
- Node js
- Express
- Git
- Clone this repository into your local machine:
e.g git clone https://github.com/davidshare/SageAuthors.git
- Install dependencies
e.g yarn install.
- Start the application by running the start script.
e.g yarn start (for production environment) or yarn start:dev(for development environment)
- Install postman to test all endpoints on port 3000.
run test using 'yarn test'.
HTTP VERB | ENDPOINT | FUNCTIONALITY | REQUIRES AUTHENTICATION |
---|---|---|---|
POST | /api/v1/auth/signup | User signup | No |
POST | /api/v1/auth/signin | User signin | No |
POST | /api/v1/artices | Creat a new article | Yes |
GET | /api/v1/articles | Get all articles | No |
GET | /api/v1/articles/s/:slug | Get an article by slug | |
GET | /api/v1/articles/user | Gets all articles for a particular user | No |
- Airbnb style guide.
- Admins can view all users
- Admins can view all articles
- Admins can block a user
- Admins can block an article
- A user can create an account
- A user can signin to his/her account
- A user can view all articles
- A user can update and delete his profile
- A user can create an article
- A user can update an article
- A user can delete an article
- A user can report an article
- A user can follow another user
- A user can react to an article
- A user can share an article
- A user can comment on an article
- A user can reply to a comment on an article
- A user can bookmark an article
- A user can view the author profile
- NodeJs-EXPRESS: Node.js is a javascript runtime built on Chrome's V8 javascript engine.
- David Essien
This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details.
- pending