Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lobau/uxmd
Collaborative markdown for designing state flows
https://github.com/lobau/uxmd
Last synced: 2 months ago
JSON representation
Collaborative markdown for designing state flows
- Host: GitHub
- URL: https://github.com/lobau/uxmd
- Owner: lobau
- License: mit
- Created: 2021-10-14T09:09:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-26T01:03:34.000Z (about 3 years ago)
- Last Synced: 2024-10-15T02:25:44.133Z (3 months ago)
- Language: JavaScript
- Size: 371 KB
- Stars: 34
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About UXMD
UXMD is a simple tool allowing anybody with some markdown knowledge to quickly draft UX flows.
In UXMD, you define each state of your user journey. Any time a user is faced with a new set of actions, this is a new state. For example, a new page the user visit is a new state, but opening a popover is also a new state, since it offers new affordances, alongside a way to close the popover.
Real-time CollaborationAny change you make to the markup is instantly saved. Just bookmark the link and you can come back at any time. Share the link and collaborate in real-time.
## Create a new state
To create a new state, enter a new line, followed by / and a unique tag (no space, no special characters)
```
/state_tag
# The big title
A short description/another_state
# Another state
A short description
```## Link states
To link states, just name a state, and in a button of another state, write the same name.
```
/state_a
# First State
[Button](#state_b)/state_b
# Second State
[Button](#state_a)
```# Installing and running
Create a .env file containing postgresql credential
```
PG_USER=postgres_user
PG_PASSWORD=postgres_password
PG_HOST=postgres_host
PG_PORT=5432
PG_DATABASE=database_name
NODE_ENV=development
```Connect to your PostgreSQL database and create the Documents table
```
CREATE TABLE Documents(id SERIAL PRIMARY KEY, route VARCHAR, body VARCHAR);
```Install all the dependencies using
```
npm install
```Then you can run the local dev server using
```
npm run dev
```It will use nodemon, which autoreload the server when you save changes to files (it will not reload the page tho)