Skip to content

omarigg04/social-app-backend

Repository files navigation

Login System

Angular, Node, and MySQL

  1. Navigate to backend/config/config.json and change the password to your MySQL password.
{
  "host": "localhost",
  "user": "root",
  "database": "posts",
  "password": "< password >"
}

IMPORTANT

To run this project npm 16.20.2 is needed

use nvm to change npm version to 16:

nvm use 16

Notes:

  • Deploy this repo in render.com
  • For development purposes the host is localhost but this will need to be updated if you decide to deploy the application. By Default, MySQL gives the user 'root' with all privileges. You can simply change this to another user if desired. In this application we named our database 'posts', however, if you went with a different name this will need to be changed.
  1. cd backend
  2. $ npm install
  3. $ npm start
  4. cd ../frontend
  5. $ npm install
  6. $ npm start

Releases

No releases published

Packages

No packages published