/Todo-application

This is todo app in react js with backend in nodejs

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Todo-application(React & nodejs)

This App has hosted on AWS and you can get this app on http://react-todo.cf

This is Backend of todo application in nodejs

run command npm install to get all the packages
and run command node server.js to run backend
you can also use nodemon instead of node
install nodemon with command sudo npm install nodemon -g

you also have to do mysql setup for database (that used in this project)
first install mysql and create a database named todoBackend (used in this project)

and for mysql connection in backend code, create a file in this directory name .env and open this file and make the following connections:

touch .env // to create .env file
nano .env // to edit .env file
write :
SECRET = secreteKey // for JWT
DB_HOST=localhost // for hostname in database
DB_USER=username // your mysql username like root
DB_PASS=password // your mysql password
DB_NAME=todoBackend // your database name

Table will create automatically by backend code

Todo-app Frontend( React js)

first you need to run command npm install to get all the packages
then run npm start to run the app, it will open in your default browser automaticaly
within frontend you also need to run backend aside to make the app work properly