This is KBZ banking web with blogs and user sign-in/up.
- Login
- Register
- Logout
- Login
- Sessions
- Create Posts
- Get All Posts
- Get Post By Id
- Get Post By Tags
- Get Post 5
- Categories
- Tags
- HealthCheck
Node.js, Express.js, TypeScript, MongoDB, JsonWebToken, Image Upload, Git & GitHub
GET /api/healthcheck
POST /api/user/auth/register
Body | Type | Description |
---|---|---|
name |
string |
Required |
email |
string |
Required |
password |
string |
Required |
img |
string |
Required |
POST /api/user/auth/login
Body | Type | Description |
---|---|---|
email |
string |
Required |
password |
string |
Required |
passwordComfirmation |
string |
Required |
POST /api/users/createposts
Body | Type | Description |
---|---|---|
title |
string |
Required |
content |
array |
Required |
img |
string |
Required |
category |
string |
Required |
tags |
array |
Required |
subTitle |
array |
Required |
avTime |
string |
Required |
GET /api/users/posts
GET /api/users/posts/:id
GET /api/users/posts/tags/bytags
GET /api/users/posts/latest/five
Clone the project
git clone https://link-to-project
Go to the project directory
cd my-project
Install dependencies
npm install
Start the server
npm run dev
I'm a full stack developer...