Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parimatrix/timeup
https://github.com/parimatrix/timeup
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/parimatrix/timeup
- Owner: parimatrix
- Created: 2017-07-26T13:33:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-26T13:50:12.000Z (over 7 years ago)
- Last Synced: 2024-11-01T11:07:37.405Z (2 months ago)
- Language: JavaScript
- Size: 142 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# timeUp
The page you wish to start your day with, everyday !
## Setting Up
### Step 1
Go to the directory in which you have saved the files. On a terminal run the following command.
```
npm init
npm install
```
### Step 2
Create the required database and tables. Open mysql client and run the following commands.
```
create database timeup;
create table users(id integer auto_increment, username varchar(100), points integer, password varchar(20), thisweek integer , primary key(id));
create table notifications(id integer auto_increment, fromuser varchar(100), touser varchar(100), content varchar(200), link varchar(100) ,primary key(id));
```
### Step 3
Enter your MySQL username and password in dbconfig in db.js fileRun the file on localhost 4000 using:
```
node server
```
Hope you like it ! :)