Giter VIP home page Giter VIP logo

inhouse_backend's Introduction

INHOUSE BACKEND REPOSITORY


How To run Backend locally

1.Fork the repository ๐Ÿ“Œ


Screenshot 2024-06-27 141945  1

2.Clone the repository from your Github "Repositories" section ๐Ÿ–ฅ๏ธ


Screenshot 2024-06-27 142239  2


3.Make required changes in Inhouse_backend folder โœ๏ธ

Changes in app.js

Comment out as per provided in the image


Screenshot 2024-06-27 142451  3


Changes in server.js ๐Ÿ“„


Screenshot 2024-06-27 142716  4


Create a .env file


MYSQL_USER='<USERNAME>'
MYSQL_PASSWORD='<PASSWORD'
MYSQL_DATABASE='<DB_NAME>'
PORT = 8081
JWT_SECRET = KSDXNADCWIUHNIW232225
APP_URL = "http://localhost:5173/auth"

4.Run the commands in the VScode Terminal ๐Ÿ’ป

npm install

5.Open Xampp Control Panel ๐Ÿš€

[1] Start APACHE and MYSQL. โšก๏ธ


Screenshot 2024-06-27 143559  5


Incase if the MYSQL server goes down (STOP) then follow these steps to resolve the issue ๐Ÿ”ง

Go to Task Manager
Search for mysql3
Right click mysql and End Task

Screenshot 2024-06-27 144054  6


Now close the Xampp Control Panel and restart the APACHE and MYSQL servers again.

[2] Go to Admin ๐Ÿ”


Screenshot 2024-06-27 144909  7


[3] Import the database. ๐Ÿ“ฅ


---Screenshot 2024-06-27 145113  8

6.Run the command โ–ถ๏ธ

npm start

Screenshot 2024-06-27 145427  9

inhouse_backend's People

Contributors

adwait-borate avatar anshipatidar07 avatar pict-2024 avatar shreyashingle avatar

Stargazers

 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.