Skip to content

A simple todos app written using React, Express.js, Sequelize ORM and styled-components. A good reference for a simple CRUD based app.

Notifications You must be signed in to change notification settings

kcarmonamurphy/react-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pK6wgEq26Z

React Todo

This project was bootstrapped with Create React App. See the README.

It uses a backend server written with the Express framework using the Sequelize ORM.

Styling provided by styled-components node addon.

Getting Started

  1. Ensure you're running Node v16 or later.

  2. Ensure you've got Postgres installed. Create a database and remember the name.

  3. In your projects directory, git clone [email protected]:kcarmonamurphy/react-todo.git

  4. cd react-todo. Create a .env. Configure your .env file. Here's an example:

PORT=7001 # CRA port
SERVER_PORT=7002 # Server port

DB_USER=kcmurphy # Typically the name of your user
DB_PORT=5432
DB_NAME=todos_express # From step 2
  1. In your react-todo folder, run npm install.

  2. Open two new tabs and cd into the project directory. Run npm run client and npm run server to load both the frontend and backend portions of the code.

About

A simple todos app written using React, Express.js, Sequelize ORM and styled-components. A good reference for a simple CRUD based app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published