Skip to content

"I always have a quotation for everything - it saves original thinking." — Dorothy L. Sayers

License

Notifications You must be signed in to change notification settings

ssp5zone/SourceQuote

Repository files navigation

SourceQuote

A website to put down quotes that you read, heard, saw, thought and felt. Things that made to simle, laugh or tear-up. And those that just made to stare at the wall for few minutes.

- Readme (Github.com)

alt text

Checkout the Live site: SourceQuote.

  • Note: The site may be down during deployment.

Requirements

  1. Node.js
  2. MongoDB (A local or remote installtion like Mongo Atlas)

Build

Docker

This is the easiest way to get the project up and running.

Just download/clone this repository and run the following command in the root path of the project.

docker-compose up

You should now be able to access the UI here: http://localhost:8091.

This will start,

  1. The mongo DB at port 27017
  2. The server at port 8091
  3. An additional mongo express client at port 8086 for viewing the DB.

Traditional

After downloading/cloning this repository

1.Setup the project

npm install

2.(Optional) Start the mongo DB if using a local one.

3.Add a .env file in the root path with following properties

DB=<Your_local_or_remote_DB_URL>
DBNAME=<Your_DB_NAME>
COLLECTION=<Your_DB_COLLECTION>

4.Start the server

npm run local

alt text

Once started you can view the page at http://localhost:8787.

Licence

MIT Licence. Free to copy, distribute and use.