Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tcampbppu/mean_01
Easy Deployment for new apps.
https://github.com/tcampbppu/mean_01
angular7 express javscript jsonwebtoken mysql nodejs
Last synced: 22 days ago
JSON representation
Easy Deployment for new apps.
- Host: GitHub
- URL: https://github.com/tcampbppu/mean_01
- Owner: tcampbPPU
- Created: 2019-06-13T02:43:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T06:20:20.000Z (almost 2 years ago)
- Last Synced: 2024-10-27T23:51:00.627Z (2 months ago)
- Topics: angular7, express, javscript, jsonwebtoken, mysql, nodejs
- Language: JavaScript
- Homepage:
- Size: 2.03 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Full MEAN APP
MySQL Express Angular Nodejs stack application with authentication using JSON web tokens
## Description
This app is to help speed up the process of deploying new MEAN (using MySQL) applications.## Installation
Create `credentials.js` in the main directory
The credentials file should look similar to this:
```
module.exports = {
port: SOME_PORT,
url: "YOUR_URL",
host: "DB_HOST_URL",
user: "DB_USER",
password: "DB_PASSWORD",
database: "DB",
cookieSecret: "ENTER_YOUR_SECRET"
};
```Install the dependencies for root directory
```sh
$ npm install
```### Setting up Angular 7
Enter Angular Src
```sh
$ cd angular-src/
```Install the Angular dependencies
```sh
$ npm install
```
Return to root directory```sh
$ cd ..
```Run app
```sh
$ npm start
```If all steps were followed the console should print: `Server listening on 3000 press Ctrl-C to terminate`
Go to your browser at `localhost:3000`
#### You will need to update the table names and tables fields in both `db.js` & `routes/users.js`
I am still wokring on better way to encapsulate those processes. Stay tuned...