Giter Club home page Giter Club logo

mylib's Introduction

# Requirements

- node 18.x.x or greater

# Structure

The project is split into two directories mylib-backend and mylib-frontned. To run the site locally you will need to cd into the directory that corresponds to the part of the app that you want to launch. Then run **npm i** to install and after **npm run dev** for backend or **npm run start** for the front end. 


# Needed env vars

## Back-end
CLIENT_URL: The URL of the front-end client
SESSION_SECRET: The secret value for the session secret
NODE_ENV: The current env you are running in (dev, production)
APP_PORT: The port you want the backend app to run on
AWS_ACCESS_KEY: Access key for aws s3 access
AWS_SECRET_KEY: Secret key for aws s3 access
AWS_REGION: Region aws should run in
S3_BUCKET_NAME: Bucket name that files will be uploaded to
GOOGLE_CLIENT_ID: google api client id
GOOGLE_CLIENT_SECRET: google api client secret
APP_HOST: URL back to the backend service for callback
FACEBOOK_APP_ID: facebook api app id
FACEBOOK_APP_SECRET: facebook api app secret
DATABASE_USER: The postgres user to use for the application
APP_DATABASE: The database in the postgres db
DATABASE_PASSWORD: pg user password
DATABSE_PORT: port that the pg db is using
DATABASE_HOST: uri to the pg db
CLOUD_FRONT_URL: the url to cloudfront 

## Front-end
REACT_APP_BACKEND_URL: url to the backend

mylib's People

Contributors

gjstathis avatar

Watchers

 avatar

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.