Giter Site home page Giter Site logo

madmaxmehdi44 / athing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from is-it-ayush/athing

0.0 0.0 0.0 674 KB

A Thing is an open source, anonymous "long form text" media project aimed towards giving regular people a platform who struggle with sharing things.

Home Page: https://athing.vercel.app/

License: MIT License

JavaScript 6.93% TypeScript 92.56% CSS 0.51%

athing's Introduction

A Thing

Live Demo

image

What is this?

A Thing is a platform that provides a safe, secure and an anonymous environment for everyone who want's to journal, rant, vent or help other's in their lives.

Why?

To put simply, A Thing goal is to give people a voice in an anonymous, open source way. We often struggle with mental health and all of us in our lives go through stuff we barely talk about. This is what inspired me to build A Thing. It features:

  • Write notes, make them public or private.
  • Create Journals and write Entries in your journal. You can make journals public or private.
  • Customize your experience by selecting from a bunch of theme's both for the app and for the journals.
  • Built on top of T3=Stack, ensure's complete typesafety.

Architecture

A Thing is built on top of the T3 Stack. What is t3 stack? Here's a quick overview:

  • T3 ensures e2e type safety. [Extremely Important (& Cool)]
  • What is 'T3'?
    • T3 generally means, Typesafety, Tailwind and tRPC, however there is also NextJS, Next-Auth and Prisma which are all remarkable tools on their own. Combine them, you get t3.
  • What is 'Typesafe'?
    • Google.

I want to contribute!

Thank You! <3 I'm glad you want to contribute. Please read the Contribution Guidelines for more information.

I want to run this locally

Prerequisites

  • NodeJS
  • Yarn
  • Github CLI

Ensure you have the .env setup from the .env.example file.

Steps

Once you have the prerequisites, open up your favorite terminal and run the following commands:

git clone <repo_link>
yarn install
yarn run dev

There are a few Custom Commands in the package.json file. Here's a quick overview:

  • yarn run dev - Runs the development server
  • yarn run build - Builds the project. I've added prisma migrate deploy to deploy the database migrations before the build starts just to be sure in the prod/dev that my migrations are deployed. You can remove it if you don't want to use Prisma.
  • yarn run postinstall - Runs the prisma generate command after the yarn install command. This is to ensure that the Prisma Client is generated after the install command is run. You can also remove this if you don't want to use Prisma or run npx prisma generate after the yarn install command which is the same thing.
  • yarn run lint - Runs ESLint on the project.
  • yarn run start - Runs the production server. This is the command that is run on the server. It runs the yarn run build command before starting the server.
  • yarn run dev:migrate:postgres - Runs the prisma migrate dev command. This is to ensure that the migrations are deployed in the development environment (NOT PRODUCTION; REFER TO prisma migrate deploy).
  • yarn run dev:studio - Runs the Prisma Studio (with the development database from .env.devlopment).

athing's People

Contributors

dependabot[bot] avatar is-it-ayush 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.