Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parimatrix/csi_post_fetcher
https://github.com/parimatrix/csi_post_fetcher
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/parimatrix/csi_post_fetcher
- Owner: parimatrix
- Created: 2017-08-03T18:21:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-04T14:38:47.000Z (over 7 years ago)
- Last Synced: 2024-11-01T11:07:48.415Z (3 months ago)
- Language: JavaScript
- Size: 99.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# csi_post_fetcher
Fetches the posts from CSI NSIT page, displays the posts and Total likes & Shares
## Setting up Locally
### Step-1
cd into the cloned directory
```
npm install
```
### Step-2: Set Up Database
Run the following commands in mysql
```
create database csidb;
use csidb;
CREATE TABLE posts(myid integer auto_increment primary key , post_id varchar(200) , message varchar(20000), time varchar(100));
```
### Step-3: Configure the Files
Go to the route/db.js
Set the username and password in dbconfig.### Step-4
```
node server
```
The site will run on
[CSI_post_fetcher](http://localhost:5000)Hope you like it ! :)