Skip to content

tusheer/club-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Club Member management software

Running the application

Use the package manager npm to client and server.

Client app run

Change directory to client folder from the project root.

cd ./client

Make an .env file following env.example

PORT=3002
NEXT_PUBLIC_API_URL=http://localhost:4000/api
NEXT_PUBLIC_S3_URL=http://localhost:4000
NEXT_PUBLIC_JWT_SECRET=secret

Install packages

npm install

Run app

npm run dev

Server app run

Change directory to server folder from the project root.

cd ./server

Make an .env file following env.example

DB_HOST=localhost
DB_PORT=27017
DB_NAME=appdb
JWT_SECRET=secret
JWT_EXPIRES_IN=100
PORT=4000
IS_MONGODB_CLOUD_URL=false
MONGODB_CLOUD_URL=mongodb+srv:// <USER >: <PASSWORD >@cluster0.abcd.mongodb.net/myFirstDatabase?retryWrites=true

Install packages

npm install

Run app

npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published