Giter Club home page Giter Club logo

golpo-express's Introduction

Golpo Express

This is the Express (Node.js) backend of the current golpo project. Site - golpo.dedsec.life

But there are things we are changing from the current Golpo. We will use Golpo as a link sharing platform. And it will be free for eveyone! Future plan involves link management (collection of links and sorting) and sharing collection.

So here is our plan -

Change plan

Backend

  • Verify post is only a link.
  • Extract meta data from link and save them in the database.
  • Do not allow to share the same link in 24 hours.
  • Add like count and people who liked the post.
  • Add follow functionality.

Frontend

  • Convert from React to Svelte.
  • Separate page for chats and user chat. (Chats are list of users who I have chat with in the past and UserChat is a single user chatting interface)
  • Profile edit page or modal.
  • Send message to user button and modal.

Run the project

Run docker for mongodb -

docker-compose up -d

Set env variables -

set -o allexport; source .env; set +o allexport;

(see config.js for all env variables)

Run the server -

npm install
npm start

To get some demo data run this -

npm run bootstrap

Here is the Postman collection - Golpo Postman

Express tasks

Here are the tasks - Hacktoberfest

(Tasks are being added daily)

Feel free to enhance code and make express better! ๐Ÿ˜ƒ

Svelte tasks

Visit the Svelte repo - github.com/ananto30/golpo-svelte

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.