Skip to content

Latest commit

Β 

History

History
109 lines (71 loc) Β· 3.07 KB

File metadata and controls

109 lines (71 loc) Β· 3.07 KB

Quote Canvas Backend πŸ“œβœ¨

Craft Quotes, Keep Memories with QuoteCanvas!

🌟 Overview

QuoteCanvas Backend is the Backend server powering the Quote Canvas app! πŸš€

πŸŽ₯ App in Action

https://quotecanvas-backend.onrender.com

https://quotecanvas-backend.onrender.com/api/v1/quotes/all

and many more...

πŸ› οΈ Tech Stack

  • Express JS βš›οΈ: A minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
  • JavaScript πŸ“œ: A versatile programming language used for building dynamic and interactive web content.
  • MongoDB πŸ—„οΈ: A NoSQL database that provides high performance, high availability, and easy scalability.
  • BCrypt JS πŸ”: A library for hashing passwords, ensuring secure storage of user credentials.
  • JSON Webtoken πŸ”‘: A compact, URL-safe means of representing claims to be transferred between two parties, used for securely transmitting information as a JSON object.

πŸ“‹ Prerequisites

To run QuoteCanvas Backend locally, ensure you have the following installed:

  • Node.js (v16 or higher) 🟒
  • A code editor like VS Code πŸ–₯️.

πŸš€ Getting Started

Follow these steps to set up and run QuoteCanvas locally:

  1. Clone the Repository:

    git clone https://github.com/sd535682/QuoteCanvas_Backend.git
    cd QuoteCanvas_Backend
  2. Install Dependencies:

    npm install
  3. Start the Development Server:

    npm run dev

πŸ’Ύ FrontEnd

To set up the frontend, please visit - https://github.com/sd535682/QuoteCanvas

πŸ“‚ Project Structure

Here’s the structure of the QuoteCanvas repository, with details on key files and their usage:

QuoteCanvas/
β”œβ”€β”€ src/                    # main source directory
β”‚   β”œβ”€β”€ config              # Environment Configs
β”‚   β”œβ”€β”€ controllers         # API functions
β”‚   β”œβ”€β”€ database            # MongoDB connection
β”‚   β”œβ”€β”€ middlewares         # Middlewares for auth verification
β”‚   β”œβ”€β”€ models              # Mongoose model Schema
β”‚   β”œβ”€β”€ routes              # API routes
β”‚   β”œβ”€β”€ utils               # Pagination
β”‚   β”œβ”€β”€ app.hs              # entry point
|
β”œβ”€β”€ package.json            # Project dependencies and scripts πŸ“¦
β”œβ”€β”€ README.md               # This file! πŸ“–

βš™οΈ Config setup

create .env.development.local in root dir

# PORT
PORT = 

# Database Connection
MONGODB_URI = ""

# JWT
JWT_SECRET = ""
JWT_EXPIRES_IN = ""

πŸ“œ License

This project is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.0. See the LICENSE file for details (consider adding a LICENSE file to your repo).

🌐 Connect

Star this repo if you love spreading inspiration with QuoteCanvas! ⭐ Let’s make the world a more positive place! 😊