Skip to content

This is a nested comment system for a blog-like application, developed using React, SLIM PHP, and MySQL.

Notifications You must be signed in to change notification settings

jain-priyanshu/nested-comments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nested Comments

Note: This repository will not work locally without the necessary configuration. You need a .env file in the server folder containing database credentials, and another .env file in the client folder, which will contain the API endpoint (SLIM PHP API, in this case).

React setup

cd client
npm install
npm start

Server setup

cd server
composer update
composer install

Next, run an Apache server on the "server/public" folder. Don't forget to modify the dbConfig file to connect to your own MySQL server.

Create this .env for client folder

REACT_APP_API="ADD PHP API HERE"

Create this .env for server folder

SECRET_KEY=
HOST=
DATABASE=
USER=
PASS=

About

This is a nested comment system for a blog-like application, developed using React, SLIM PHP, and MySQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published