https://github.com/codeslash21/cc_mini
https://github.com/codeslash21/cc_mini
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codeslash21/cc_mini
- Owner: codeslash21
- Created: 2022-12-08T22:05:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-30T22:34:34.000Z (about 2 years ago)
- Last Synced: 2025-10-10T07:17:52.954Z (9 months ago)
- Language: JavaScript
- Size: 4.34 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Getting started
install the folloing s/w
- nodejs
- nodemon
- mysql
open the project folder in VS Code and in terminal run
`npm install` - to install the dependencies from the package.json file.
> In line 14 in app.js you have to replace the "password" with the password that you gave during installation of mysql. And, you may need to change the user from "root" to other if "root" is not the user for your case during installatino of mysql.
Then open mysql CLI for client and run the following sql query seperately -
```
create database join_us;
```
```
use join_us;
```
```
CREATE TABLE users (
email VARCHAR(255) PRIMARY KEY,
created_at TIMESTAMP DEFAULT NOW()
);
```
After the above steps run in the vs code terminal
```
nodemon app.js
```
and open the app @'localhost:3000'