Skip to content

ShubhamSingal07/Pentasticme-backend

Repository files navigation

Pentastic Me

It is a web app which can be used to write blog posts and upload images. Only admins can write blogs or upload images

User gets various features for writing blogs like

  • Add a youtube video.
  • Various fonts and font size.
  • Aligining the text
  • Writing piece of code in blog
  • Embedding links
  • Using images in blog

User gets multiple features while uploading images

  • Can upload multiple images at once.
  • Move the images i.e order them

Homepage

Homepage shows the list of latest blogs and latest images.

Home page


Dashboard

Admin can manage role of the user and can check the number of posts written and images uploaded.

Deshboard

Code

Backend is made on ExpressJs and MongoDb is used for database. To start app open Backend folder and perform the following steps.

First start a mongodb instance by running the following command.

mongod --dbpath=./data

Open a new terminal and then run following commands.

# Install dependencies
npm install

# Serve on localhost:3000
npm start

Project Structure

.
├── Backend                     # backend
│   ├── controllers             # database controller 
|   ├── models                  # schema
|   ├── middlewares             # middlewares
|   ├── public                  # public files
|   ├── routes  
|   |   ├── api                 # rest api              
|   |   |   ├── ...             # contains all routes
|   |   └── auth.js             # verify jwt middleware
|   ├── utils                   
|   |   └── jwt.js              # create and verify jwt
│   └── server.js               # entry point
...

Visit

You can go check out the project at https://pentasticme-frontend.herokuapp.com/

App Info

Author

Shubham Singal


Version

1.0.0

Releases

No releases published

Packages

No packages published