/mysql-crud

Primary LanguageJavaScript

CRUD-APP

Task

Create a Simple Blog:

  1. List all articles
  2. Create, Read, Update and Delete Article
  3. Leave comments for a specific Article

Tech Stack:

  1. On Backend - create simple API on Node JS with MySQL DB for storing data.
  2. On Frontend - simple React JS + Redux application with basic Routing for switching between pages.
  3. Cover some functionality with tests

Stack

  • FE: React, Redux,
  • Styling: React-Bootstrap
  • BE: NodeJS(Express.js)
  • Tests: Mocha, Chai, Supertest
  • DB: MySql
  • Query Builder: Knex

Configuration steps

  • clone the repo

  • Inside CLIENT FOLDER

    • cd client folder and npm install
  • Inside SERVER FOLDER

    • cd server folder and npm install

    • Update the .env file with MySQL DB credentials

Run the project

# npm run all