Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

With this app, you can register an account, log in, edit your profile, update your passward, create notes, edit notes and delete notes.

Must have downloaded Node, PostgreSQL, and pgAdmin4 downloaded

  1. Open pgAdmin4 and create the local database named todos-dev. Assign the database to u (User name).
  2. Create a user named u and allow this user to have all the priviliges. Set password=123456.
  3. Under your Fullstack_API app file, run npm install -g sequelize-cli sequlize db:migrate (If you already installed sequelize, you can skip the installation)
  4. Run npm start Now, you can test it locally on postman with the address: 127.0.0.1:8000/api/users

To have a front end:

  1. With new terminal window, under your Fullstack_API app file, run npm install.
  2. Go to frontend file and run npm install.
  3. Go to your Fullstack_API app file and run npm start. (This will open the browser window for u)
  4. Go to your frontend file and run npm start. Finished. The app should run on localhost:3000.