Skip to content

danimatuko/dev-talks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 

Repository files navigation

dev-talks

Blog for developers. Using React,Node with express and MYSQL database.

Live demo: https://dev-talks.netlify.app

Sample Users To Login

email password
diaz@gmail.com 123456
hill@gmail.com 123456

Installation

React Environment Variables

create .env file in the root of the client folder and set following

key value
REACT_APP_PROD_DOMAIN http://yourlivehost.com
REACT_APP_DEV_DOMAIN http://localhost:5000

Node Environment Variables

create .env file in the root of the server folder and set following

key value
HOST your host address
PASSWORD your db password
DB_NAME your db name
JWT_SECRET your jwt string

npm scripts

start server :

cd server
npm run dev

start client:

cd client
npm start

Postman file for testing

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