Skip to content

theprantadutta/old-final-project

Repository files navigation

About this file

This is the project repository of my final Project.

How to run this file

You need to have nodejs and yarn installed

Download nodejs from here

Then open up cmd and run the following command to install yarn

npm i -g yarn

Run the following in the project directory

yarn

Then open up the development server with

yarn dev

Important

Sorry I removed the heroku database. So you have to setup a database now.

If you want to use your own postgresql database then download postgresql from here

Just edit the credentials in your prisma/.env file

Then run the following command to create the database table

yarn migrate

Open your database

Open your database with following command

yarn open

Problems

If you run into any errors, try running the following command and then try restarting the dev server

yarn clean

If this doesn't solve your problems, then delete node_nodules and yarn.lock files. Then run yarn and try restarting the server. You can also run the following command

yarn deep-clean

Project Structure

Layout
    NavBar
        '/' Homepage
            Introduction
            ProvideInvestors
            ProvideBorrowers
            Sponsors
            MobileApp
            UpperFooter
        '/login' Login Page
            FormikTextField
        '/register' Register Page
            FormikTextField
    Footer
/dashboard Dashboard Page