Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cristianofilho/crud-angular

CRUD Angular and MySQL
https://github.com/cristianofilho/crud-angular

angular angularjs crud mysql

Last synced: about 1 month ago
JSON representation

CRUD Angular and MySQL

Awesome Lists containing this project

README

        

# CRUD-Angular
CRUD Angular and MySQL

## Connect MVC Node Express API to Angular application for CRUD operations

1. Setup MySQL, Node, and Angular
2. Create backend/config/config.json and change the password to your MySQL password.

```json
{
"host": "localhost",
"user": "root",
"database": "groceries",
"password": ""
}
```

Note: 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 'groceries', however, if you went with a different name this will need to be changed.

2. cd backend
3. $ npm start
4. cd ../frontend
5. npm start