Skip to content
/ sma Public
forked from RobiMez/sma

Code for the frontend and api of S.M.A

License

Notifications You must be signed in to change notification settings

pilanop/sma

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S.M.A (Send Messages Anonymously)

svelte badge typescript badge node.js badge mongodb badge

Description

S.M.A is a web application that allows users to send messages to each other anonymously. It is built using Svelte and TypeScript, with a Node.js backend and MongoDB database.

Features

  • Send and receive messages anonymously
  • Toggleable profanity filter

Live Website

You can access the live website at sma.robi.work

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of Node.js and pnpm
  • You have a MongoDB database set up.

Installation

Clone the repository:

git clone https://github.com/RobiMez/sma.git
cd sma

Install the dependencies:

Using pnpm ( Preferred ):

pnpm i

Create a .env file in the root directory of the project, and add the following line:

SECRET_MONGO_URI="your_mongodb_connection_string"

Replace your_mongodb_connection_string with your actual MongoDB connection string.

Start the development server:

Using pnpm:

pnpm dev

You can find the site at http://localhost:5173/.

Contributing

When working on the project , use conventional commits. Examples of conventional commits are:

  • feat(polling): Optimized polling algorithm
  • fix(ui): Message box doesnt kill the site anymore
  • refactor(api): New api endpoint for messages
  • docs: updated documentation
  • chore: smol fixes
  • test: added tests for the new feature
  • style: fixed the styling of the message box
  • ci: added ci/cd pipeline
  • perf: optimized the code
  • revert: reverted the last commit
  • build: added new build system

You can use the following command to commit your changes and follow the conventional commits format:

pnpm commit

Contributions are welcome! Please fork the repository and submit a pull request. I'll review it as soon as possible.

Credits

S.M.A was created by Robi and Improved with the help of doniverse and pilanop

License

This project is licensed under the GNU General Public License v3.0

About

Code for the frontend and api of S.M.A

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Svelte 60.9%
  • TypeScript 28.1%
  • JavaScript 5.9%
  • HTML 2.9%
  • CSS 2.1%
  • Shell 0.1%