Skip to content

Blog, created to read and share articles about a variety of topics.

Notifications You must be signed in to change notification settings

danimatuko/topicks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TOPICKS

Blog, created to read and share articles about a variety of topics.

Demo

https://dm-topicks.herokuapp.com/

Features

  • 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

Tech Stack

Client: React, MobX, Bootstrap

Server: Node, Express , MongoDB

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

Server (create .env file in the project root folder)

NODE_ENV = development

MONGO_URI = your mongodb URI

JWT_SECRET = your JWT SECRET

Client (create .env file in the client folder)

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

Installation

Clone the project

  git clone https://github.com/danimatuko/topicks.git

Install dependencies (frontend & backend)

npm install
cd client
npm install

Run

Run frontend (:3000) & backend (:5000)

npm run dev

Run frontend only (:3000)

npm run client

Run backend only (:5000)

npm run server

Build & Deploy

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

API testing with Postman

Open postman and import the topicks.postman_collection.json file from server/topicks.postman_collection.json

🔗 Links

portfolio linkedin github

Releases

No releases published

Languages