Giter Site home page Giter Site logo

enclave's Introduction

Prerequisites

Installing

  1. Clone the repository:

    git clone https://github.com/yourusername/project-name.git

2.Navigate into the project directory:

server side

cd server

3.Install dependencies for server:

npm install or yarn

config.env file inside server/data folder

Environment Variables

These are the environment variables required to run the application:

  • PORT:5000.

  • MONGO_URI: The URI for connecting to MongoDB.

  • JWT: Secret key used for JWT token generation.

  • SMTP_HOST: SMTP host for sending emails.

  • SMTP_PORT: Port for SMTP connection.

  • SMTP_SERVICE: Service for SMTP connection.

  • SMTP_MAIL: Email address used for SMTP authentication.

  • SMTP_PASSWORD: Password for SMTP authentication.

  • CLOUD_NAME: Cloud name for Cloudinary integration.

  • API_KEY: API key for Cloudinary integration.

  • API_SECRET: API secret for Cloudinary integration.

  • STRIPE_API_KEY: Public API key for Stripe integration

  • STRIPE_SECRET_KEY: Secret API key for Stripe integration

4.cd/server

5.npm run dev

client side

6.cd ../client

7.npm run dev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.