Skip to content

url sharing site built with react as frontend and nodejs and express in backend

Notifications You must be signed in to change notification settings

iamsuryasonar/uniurl-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

UNIURL - URL Sharing Platform

Welcome to UNIURL, a URL sharing platform that allows users to share all of their URLs with a single URL. With UNIURL, users can conveniently organize and manage their links, accessible through a unique username-based URL.

Features

UNIURL offers a range of features to streamline URL sharing and management:

  • Single URL Sharing: Share all your URLs using a single, customizable UNIURL link (e.g., www.uniurl.com/username).
  • Easy Organization: Organize and manage your links effortlessly with UNIURL's intuitive interface.
  • Theming Options: Customize the appearance of your UNIURL profile with various theming options.
  • Image Storage: Store images associated with your URLs securely on AWS S3 for reliability and scalability.
  • Cache Management: Utilize Redis for caching to optimize performance and enhance user experience.
  • Responsive Design: Enjoy a seamless browsing experience across devices, thanks to the use of Tailwind CSS.

Technologies Used

UNIURL leverages modern technologies to provide a robust and efficient platform:

  • Frontend: Built with React and styled with Tailwind CSS for a responsive and visually appealing user interface.
  • Backend: Powered by Node.js and Express.js, with MongoDB and Mongoose for database management.
  • Image Storage: AWS S3 for secure storage of images associated with URLs.
  • Cache Management: Redis for caching to optimize performance.
  • Theming: Theming options available for users to customize their UNIURL profile.

Getting Started

To get started with UNIURL, follow these simple steps:

  1. Clone the repository:
git clone https://github.com/iamsuryasonar/urlshare-react.git
  1. Navigate to the project directory:
cd urlshare-react
  1. Install dependencies:
cd frontend
npm install

//and

cd backend
npm install
  1. Set up environment variables: Create a .env file in the root directory of backend with the following variables:
DB_CONNECT = mongodb+srv://username:[email protected]/?retryWrites=true&w=majority
TOKEN_SECRET = secret
AWS_ACCESS_KEY_ID="id"
AWS_ACCESS_KEY_SECRET="secret"
AWS_BUCKET_NAME="bucket name"
REGION_NAME="us-east-1"
PORT=3005
REDIS_HOST="redis host"
REDIS_PORT="port"
REDIS_USER="default"
REDIS_PASSWORD="password"
  1. Start the development server:
npm run dev // backend
npm start // frontend

The frontend should now be running on http://localhost:3000 and backend on port 3005

Images

user adds an url Screenshot from 2024-03-03 13-56-53

can view own urls Screenshot from 2024-03-03 13-56-48

edit profile Screenshot from 2024-03-03 13-56-58

shared link can be used to view a users urls Screenshot from 2024-03-03 13-57-36

About

url sharing site built with react as frontend and nodejs and express in backend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published