This is the frontend UI for a two sided marketplace (job board) demo app.
It is built with React and Typescript, and bootstrapped using create-react-app
, consuming data from a backend API.
This UI comes with the following functionalities:
- Account creation
- Simple login
- List postings and view details
- Create postings
- Process applications
- Account creation
- Simple login
- Query postings based on keywords and tags then submit application
- View submitted applications and corresponding postings
To get started in your local sandbox, first have the backend API running and accessible at a specific port. Then:
- Checkout this repo during your App configuration stage.
- Install packages:
npm install
- Start server:
npm start
The following App Definition was used to create this app:
endpoints:
- name: app
http:
routes:
- pathPrefix: "/"
backend:
target: frontend
port: app
authProxy:
disabled: true
workspaces:
- name: frontend
description: Demo App frontend using React Typescript
ports:
- name: app
port: 3000
protocol: HTTP/TCP
checkouts:
- path: frontend
repo:
git: https://github.com/crafting-dev/demo-jobs-ui
packages:
- name: nodejs
version: 16.12.0
Sandbox external URL https://XXX.sandboxes.run
is readily available for development. But if you are using local Visual Studio Code and want some remote ports locally available, you can define workspace settings to forward the desired remote ports to your local machine.
For example, to forward port 3000
locally, you can create the file .vscode/settings.json
and add:
{
"remote.SSH.defaultForwardedPorts": [
{
"localPort": 3000,
"name": "web",
"remotePort": 3000
}
]
}
Then http://localhost:3000
will be accessible for local development.