Inkwell is a web-based comic generation and storytelling platform. This repository contains the frontend code for the Inkwell project, built using Vite and Vue.js.
- Features
- Tech Stack
- Project Structure
- Installation
- Usage
- Environment Variables
- Backend Repository
- Contributing
- License
- Interactive and dynamic user interface for comic creation.
- Image generation using StableDiffusion (integrated with the backend).
- Organized project structure with reusable components.
- API integration for seamless communication with the backend.
- Frontend: Vite, Vue.js, JavaScript
- Routing: Vue Router
- API Communication: Axios
inkwell-frontend/
├── eslint.config.js
├── index.html
├── jsconfig.json
├── package.json
├── package-lock.json
├── public
│ ├── favicon.ico
│ └── favicon.png
├── README.md
├── src
│ ├── App.vue
│ ├── assets
│ │ ├── base.css
│ │ ├── images
│ │ │ ├── auth
│ │ │ │ ├── cloud-bg.jpg
│ │ │ │ └── kid-pencil.jpg
│ │ │ ├── comics
│ │ │ │ ├── thumbnail-1.jpg
│ │ │ │ └── thumbnail-2.jpg
│ │ │ ├── dashboard
│ │ │ │ ├── comic.png
│ │ │ │ ├── create-story.png
│ │ │ │ ├── progress.png
│ │ │ │ └── writing-tips.png
│ │ │ └── home
│ │ │ ├── hero-image-darkened.jpg
│ │ │ └── hero-image.jpg
│ │ ├── logo.svg
│ │ └── styles
│ │ ├── main.css
│ │ ├── transitions.scss
│ │ └── _variables.scss
│ ├── components
│ │ └── Navigation.vue
│ ├── layouts
│ │ └── DefaultLayout.vue
│ ├── main.js
│ ├── router
│ │ ├── guards.js
│ │ └── index.js
│ ├── services
│ │ ├── apiClient.js
│ │ └── authService.js
│ ├── stores
│ │ ├── assessmentStore.js
│ │ ├── storyStore.js
│ │ └── userStore.js
│ ├── utils
│ │ └── auth_utils.js
│ └── views
│ ├── AssessmentIntro.vue
│ ├── AssessmentQuestion.vue
│ ├── ComicDetail.vue
│ ├── Comics.vue
│ ├── CreateStory.vue
│ ├── Dashboard.vue
│ ├── HomeView.vue
│ ├── LoginView.vue
│ ├── Progress.vue
│ ├── SignupView.vue
│ ├── StoryPicture.vue
│ ├── WritingTips.vue
│ └── WritingTipView.vue
└── vite.config.js
To set up the frontend locally, follow these steps:
- Node.js (>= 16.x)
- npm or yarn
- Clone the repository:
git clone https://github.com/Olooce/inkwell-V2.0.git
- Navigate into the project directory:
cd inkwell-frontend
- Install dependencies:
or
npm install
yarn install
To start the development server, run:
npm run dev
or
yarn dev
The app will be available at http://localhost:5173/ (default Vite port).
Create a .env file in the root directory and define the required environment variables:
VITE_DEV_IMAGE_URL = http://localhost:8080/api
VITE_DEV_BASE_URL = http://localhost:8080/api
Replace http://localhost:8000/api with the actual backend URL.
The backend repository for Inkwell can be found here: Inkwell Backend
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch (feature-branch-name).
- Make your changes and commit them.
- Push to your fork and submit a pull request.
This project is licensed under the MIT License. See LICENSE for details.
Feel free to suggest improvements or report issues!