Skip to content

Code-Level-Beard/Capstone-Showcase

Repository files navigation

Capstone Showcase Website

Website Tools Used

  • Front-end: TypeScript + React + CSS
  • Back-end: ExpressJS + MySQL

Running the Website Locally

  1. Change directories into the desired folder to store the files from the repo.
  • Ex. cd Downloads
  1. Run the command git clone https://github.com/Karina528/Capstone-Showcase.git.

  2. Change directories into the new folder you've just created by using cd Capstone-Showcase.

  3. Run the command npm create vite@latest capstone-showcase and then select the following options:

  • Ignore files and continue
  • React
  • TypeScript
  1. Change directories into the capstone-showcase subfolder by using cd capstone-showcase.
  • Note: This is the subfolder inside the repo and NOT the main folder of the repo.
  1. Run the following commands:

    npm install
    git fetch --all
    git reset --hard origin/main
    npm install react-router-dom@latest
    
  2. Run the website by using npm run dev.

  3. Open the website in your browser using the Local url.

Testing Frontend-Backend connection locally:

  1. Open a terminal in VS Code and navigate to the project directory.

  2. Run the following commands:

    cd capstone-showcase
    cd backend
    
  3. Once in the 'backend' directory, run the command node localServer.js.

  4. Open a 2nd terminal in VS Code and navigate to the project directory.

  5. Run the command cd capstone-showcase.

  6. Once in the 'capstone-showcase' directory, run the command npm run dev.

  7. Launch the web application in your browser and navigate to any one of the major tabs.

  8. Click on the "Survey Form" button to open a new capstone submission form.

  9. Enter information as appropriate and click “Submit”.

  10. Check the ‘backend’ terminal console for a submission confirmation.


When testing code with backend make sure you use the localhost address, make sure to switch to production address when pushing code to Github

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors