This is a simple NodeJS project for comments feature using redis as database.
##Features
- ES6/ES7 style
- Express
- Cheerio
- Redis caching
- Search/Autocomplete
- Eslint rules
- esm
- Export/Import style
Clone the Repo
git clone https://github.com/p-rk/comments.git
Install Redis & Start Redis Server
wget http://download.redis.io/releases/redis-5.0.5.tar.gz
tar xzf redis-5.0.5.tar.gz
cd redis-5.0.5
make
src/redis-server
Go to cloned working directory and run
npm install
npm run dev
For Running the project in production mode
npm run start
http://localhost:3002/<login|signup>
QueryParams | dataType |
---|---|
username | string |
password | string |
- By Rama Krishna