Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carlostojal/vcard_frontend
https://github.com/carlostojal/vcard_frontend
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/carlostojal/vcard_frontend
- Owner: carlostojal
- Created: 2023-10-30T10:33:36.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-22T20:04:52.000Z (11 months ago)
- Last Synced: 2024-10-12T19:53:30.211Z (about 1 month ago)
- Language: Vue
- Size: 462 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vCard_frontend
## Requirements
- Node.js## Running
First, take a look at the configurations. Configurations like the backend API URL are defined in the `.env` file.
By default, you probably don't have a `.env` file. However, you have a `.env.example` file. Make a copy of this file, in the same location, named `.env` and update any values you need to change.
### Development environment
- Navigate to the `vCard` directory (`cd vCard`).
- Run the command `npm install` to install all dependencies.
- Run the command `npm run dev` to start the project.### Docker
The Docker image is intended to be used as a production environment. The Vue app is built and then served using NGINX.
- Run the command `docker build -t vcard_frontend .`.
- Run the docker `docker run -p 80:80 vcard_frontend`.