Skip to content

Project Management Website written in typescript with nextjs and nestjs.

Notifications You must be signed in to change notification settings

kTrzcinskii/project-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Project Manager

It's a fullstack app that helps you organise your work and stay productive.

The stack I used

Everything is written in Typescript

Frontend

  • NextJS
  • ChakraUI
  • react-query
  • axios
  • formik
  • hosts on Netlify

Backend

  • NestJS
  • Prisma
  • PostgreSQL
  • JWT Auth
  • Passport
  • hosts on Heroku

If you want to set it up locally:

  1. Copy this repository.
  2. In frontend directory create .env.local
  3. In frontend/.env.local add following line
NEXT_PUBLIC_BACKEND_ENDPOINT='http://localhost:5000'
  1. In frontend/src/utils/axiosInstance.ts change following line
const axiosInstance = axios.create({
  withCredentials: true,
  baseURL: "/api",
});

to

const axiosInstance = axios.create({
  withCredentials: true,
  baseURL: process.env.NEXT_PUBLIC_BACKEND_ENDPOINT,
});
  1. Use backend/docker-compose.yml to create docker container with db.
  2. In backend folder create .evn file
  3. In backend/.env add following lines
DATABASE_URL=YOUR DB LINK
AT_SECRET=YOUR AT SECRET
RT_SECRET=YOUR RT SECRET
FRONTEND_ORIGIN="http://localhost:3000"
  1. Enter those commands in terminal:
cd backend
npm run start:dev
cd frontend
npm run dev
  1. You're good to go.

About

Project Management Website written in typescript with nextjs and nestjs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages