Git Product home page Git Product logo

rubel011 / website_url_project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 99 KB

This website URL tool provides domain word count and link tracking, offering valuable insights to monitor and optimize your website's performance.

Home Page: https://website-url-project-ojtp.vercel.app/

JavaScript 99.03% HTML 0.78% CSS 0.19%
cors nodejs bcryptjs express-js jsonwebtokens mongoosejs mongodb reactjs tailwindcss

website_url_project's Introduction

Website-Url-Project

This is the Website-Url-Project, where you can register, log in, and access restricted resources.

API Documentation: for Swagger

You can explore the API documentation using Swagger UI. Access the documentation by navigating to:

https://website-url-project-backend.vercel.app/api-docs

Functionality

The API includes the following functionality:

  • User Registration
  • User Login and Authentication
  • User details
  • Url Management- create , update, delete

Backend Deployment

The backend of this project is deployed on AWS and can be accessed via the following link:

Backend Deployment Link

Backend-Routes

  • User Authentication:
    • POST /users/register: Register a new user.
    • POST /users/login: Log in with a registered user.
    • GET /users/: Get all user details (jwt protected) .
  • Url Management:
    • GET /Domain/: List of all available url data (jwt protected) .
    • POST /Domain/: Add a new book (jwt protected) in the body add url field .
    • PUT /Domain/:id: Update book details (jwt protected) in the body add favorite field.
    • DELETE /Domain/:id: Delete a book form database (jwt protected) .

Technologies Used

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • Bcrypt
  • JWT
  • Swagger (for API documentation)

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/Rubel011/website_url_project.git
    
  2. Navigate to the project directory:

    cd website_url_project
    for frontent: cd frontent-app
    fort backend: cd server
  3. Install the project dependencies:

    npm install 
    
  4. Create a .env file in the project root and configure the following environment variables:

    PORT=8080
    mongoUrl=database link
    saltRounds=15
    ACCESS_TOKEN_SECRET=masai_school
    REFRESH_TOKEN_SECRET=masai_refresh_token
    
    
  5. Start the server:

    npm run server
    
  6. Access the backend API at http://localhost:PORT.

website_url_project's People

Contributors

rubel011 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.