Coder Social home page Coder Social logo

fescii / qval Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 6.1 MB

A platform built with Node.js, Express.js, and Postgres for robust database.

JavaScript 89.80% Dockerfile 0.03% Shell 0.06% EJS 0.66% CSS 9.46%
article expressjs nodejs docker-compose express-js postgres sequelize social websocket

qval's Introduction

Open platform ( Instructions To be updated)

A platform built with Node.js, Express.js, and Postgres for robust database and AWS for file storage capabilities.

https://github.com/fescii/avalq.git

Features

  • Dynamic Content: Create and easily manage engaging stories/posts.
  • Secure User Authentication: JWT ensures secure login and authentication.
  • Media Storage: Upload and integrate images or other media for enhanced articles (powered by AWS Storage).
  • Modern Frontend Design: todo(current).

Technologies

  • Node.js: Server-side runtime environment.
  • Express.js: Web application framework.
  • S3: An Amazon web service providing scalable storage capabilities.

Getting Started

Prerequisites

  • Node.js and npm (or another package manager) installed on your system

Installation

  1. Clone the Repository

    git clone https://github.com/fescii/qval.git
    
  2. Install Dependencies

    cd qval
    npm install
    
  3. Environment Variables Create a .env file in the project's root directory.

    Add the following variables, replacing placeholders with your Supabase credentials:

    #PORT
    PORT=3000
    
    # Database Configs
    POSTGRES_DB_HOST=YOUR_DATABASE_HOST
    POSTGRES_DB_USER=YOUR_DATABASE_USER
    POSTGRES_DB_PASSWORD=YOUR_DATABASE_PASSWORD
    POSTGRES_DB_NAME=YOUR_DATABASE_NAME
    POSTGRES_DB_PORT=YOUR_DATABASE_PORT
    
    # AUTH JWT & HASH
    AUTH_SECRET=YOUR_AUTH_SECRET
    HASH_SECRET=YOUR_HASH_SECRET
    JWT_EXPIRY=86400
    
    
    # Generating development-only key & cert (use this in Linux)
    # - openssl req -x509 -newkey rsa:4096 -nodes -keyout key.pem -out cert.pem -days 365 -subj '/CN=localhost'
    
    
  4. Running the project

    npm start
    

Notes

Please take a look at the express, Sequelize, and Postgres documentation for setting up your project.

Contributing

This project welcomes contributions! Feel free to:

Open issues to report bugs or suggest features.
Fork the repository and create pull requests to propose changes and improvements.

Let's build a fantastic platform experience together!

qval's People

Contributors

fescii avatar gatimugabriel avatar

Stargazers

 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.