Skip to content

FAQ Network. There Users Able To Ask A Question That Includes Image, Title, Tags, Text And Other People Able To Comment It. Every Post Has Views Count. Admins Able To Edit And Delete Post Or Comment. Users Able To See Fresh/Popular Posts.

Notifications You must be signed in to change notification settings

MemeBelarusGuy/FAQ-web-application

Repository files navigation

How to run project:

1.Create empty folder.

2.There create 2 empty folders:backend and frontend.

3.Download main branch.Then insert backend folder into your backend folder of whole project.

4.Download master branch.Then move all files and folders into your frontend folder of whole project.

5.cd backend->npm install

6.BEFORE RUN PROJECT CREATE MONGODB AND SET URL INTO dbURL(backend->index.js)

7.cd frontend->npm install

8.cd backend->npm start

9.cd frontend->npm start

This is how your terminal look like:

terminal



Your mongoDB will contain 3 collections:users,posts,comments

This is how your mongoDB look like:

login

Go to browser console and write store.getState() to get info about auth/posts

Comments not stores into store due to dynamic queries

ALL PICTURES THAT YOU UPLOAD WILL STORE IN BACKEND/UPLOADS

To create admin go to your mongoDB user collection and add new field: admin:"true"

Login:

login

Register:

Register

Fresh Posts:

Fresh Posts

Popular Posts:

Popular Posts

Add Post Image:

Add Post Image

Add Post Info:

Add Post Info

Full Post:

Full Post

editComment:

editComment

deleteComment:

deleteComment

About

FAQ Network. There Users Able To Ask A Question That Includes Image, Title, Tags, Text And Other People Able To Comment It. Every Post Has Views Count. Admins Able To Edit And Delete Post Or Comment. Users Able To See Fresh/Popular Posts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published