8000 Scaffold public website by vgeorge · Pull Request #24 · osmforcities/osmforcities · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Scaffold public website #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Oct 30, 2023
Merged

Scaffold public website #24

merged 23 commits into from
Oct 30, 2023

Conversation

vgeorge
Copy link
Member
@vgeorge vgeorge commented Oct 17, 2023

Set up a NextJS server as the public-facing website with the following primary objectives:

  • Display a city search box on the main page
  • Introduce a city page accessible via the /:country/:area/:city route

@vgeorge
Copy link
Member Author
vgeorge commented Oct 25, 2023

I added migrations and database seed using Knex.js. Next step is to generate scaffold pages routes for country, regions (states and like) and cities that exist in the database.

@vgeorge
Copy link
Member Author
vgeorge commented Oct 26, 2023

I replaced Knex with Prisma, which works better with Next.js and TypeScript. Next step is to use name slugs for countries and regions in the city URL routes.

@vgeorge
Copy link
Member Author
vgeorge commented Oct 30, 2023

This looks well enough for a scaffold, merging.

@vgeorge vgeorge merged commit b60c34d into develop Oct 30, 2023
@vgeorge vgeorge deleted the add/nextjs-server branch October 30, 2023 14:50
@vgeorge vgeorge mentioned this pull request Oct 30, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

33E8
1 participant
0