Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File upload/fix #10

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ Directory structure of the web app is as follows:
```

## Instructions for initializing web app:

- Install Node JS, MongoDB in the machine.
- Install Node JS v20.12.1
- Install packages in backend folder using npm i --legacy-peer-deps
- Install packages in frontEnd folder using npm i or npm -- force
- if frint end gives "error:0308010C:digital envelope routines::unsupported" use command "export NODE_OPTIONS=--openssl-legacy-provider" then run app again
- Install MongoDB in the machine.
- Start MongoDB server: `sudo service mongod start`
- Move inside backend directory: `cd backend`
- Install dependencies in backend directory: `npm install`
- Install dependencies in backend directory: `n.pm install`
- Start express server: `npm start`
- Backend server will start on port 4444.
- Now go inside frontend directory: `cd ..\frontend`
Expand Down
Loading