Blog, created to read and share articles about a variety of topics.
https://dm-topicks.herokuapp.com/
- CRUD functionality for posts
- CRUD functionality for comments
- User dashboard
- User posts management
- User comments management
- Upload profile image
- Rich text editor
- Filter posts by topics
- Search posts
- Like posts
- Save post for later
Client: React, MobX, Bootstrap
Server: Node, Express , MongoDB
To run this project, you will need to add the following environment variables to your .env file
NODE_ENV = development
MONGO_URI = your mongodb URI
JWT_SECRET = your JWT SECRET
REACT_APP_TINYMCE_API_KEY = your tinyMCE API key
REACT_APP_CLOUD_NAME = your cloud name on cloudinary
REACT_APP_CLOUDINARY_UPLOAD_PRESET = your upload preset on cloudinary
Clone the project
git clone https://github.com/danimatuko/topicks.git
Install dependencies (frontend & backend)
npm install
cd client
npm install
Run frontend (:3000) & backend (:5000)
npm run dev
Run frontend only (:3000)
npm run client
Run backend only (:5000)
npm run server
Create frontend prod build
cd client
npm run build
There is a Heroku postbuild script, so if you push to Heroku, no need to build manually for deployment to Heroku
Open postman and import the topicks.postman_collection.json file from server/topicks.postman_collection.json