Recreating the SFPOPOS site using responsive design pratices and React.js
Web Application where users can search for different public spaces in San Francisco and see the details for each public space
Live demo here.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
- First you need a code editor of your choice, I use VSCode by Microsoft then you will need the current version of Node to get your React app created and running on your local server.
- After you need to choose between Vite or Create React App if you are going to code from scratch, if not then just run
npm run dev
in your terminal to get your project showing after changing the directory to your project folder(should be the same name as the one you used to create the app) after runningnpm install
.- a. If you choose Vite then this article can help with getting started
- b. If you choose Create React App then this doc page can help
- The rest are dependencies and those require either
npm i
ornpm install
, this page can help and you can search the package you need
How does one go about using it?
User can navigate to landing page and see a input bar to search for different public spaces
User can see a navbar with two buttons to sign up/see a random space and two links to navigate back to the home page/see an about page
User can see a property and the details associated with that public space such as a washroom
Project is: completed
To deploy this project you could run npm run build
, this creates a version of your project that is bundled and ready for production. However I used Vercel, a frontend deployment tool that is free to help deploy this project.
- To create an account sign up using a third-party account such as GitHub or you could do it using a differen username and password, if you use GitHub it will deploy your project straight from GitHub
- After signup you can login or skip step 1 and log in, go to your overview where you see a space for projects and on the right side click
Add New
- After clicking on
Add New
choose what you are adding, this will be project - Then aftering the last step, if you choose GitHub you can choose your repository and click on import
- You are all done!
React - The framework used
BEM - Naming Convention
CSS - The styling used
Vercel - Used to deploy the website
- Created by @el634dev