Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.03 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.03 KB

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.