Skip to content

Nifleheim/cilist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cilist

Simple CRUD app built with MySQL, ExpressJS, React, & Node.

Database : MySQL

Backend : localhost:5000

Frontend : localhost:3000

Setup

Database

First you need to create database & user in MySQL in order to connect Backend to Database.

sudo mysql -u root -p
create database people;
create user people identified by 'people';
grant all privileges on people.* to people;

Then all you have to do now is restore database using this command

mysql -u people -p people < database/crud_db.sql

Backend

Create .env file. Configure with appropriate value.

cd backend
cp .env.example .env

Simply install all dependencies then start the app.

npm install

And you can start with this command. You'll see the server is running on port 5000

npm start

Frontend

Create .env file. Configure with appropriate value.

cd frontend
cp .env.example .env

Because this is a React app, you can install all dependencies.

npm install

Then start the app. You'll see the app is running on port 3000

npm start

Credit

All credit goes to M. Fikri as creator of this app.

App used:

Frontend

Backend

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.1%
  • HTML 13.3%
  • Shell 1.6%