Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Rick and Morty Api Project in Vue js

NotificationsYou must be signed in to change notification settings

bishworup11/rick-and-morty-api-vue-js

Repository files navigation

This project is built usingVue.js 3, powered byVite, and utilizes theRick and Morty API to display characters, locations, and episodes from the show.

📌 Features

✅ Fetch and display Rick and Morty characters, locations, and episodes.
✅ Vue Router for navigation between different pages.
✅ State management using Vuex.
✅ API calls handled with Axios.
✅ UI components powered by Naive UI.
✅ Authentication with token-based auth and Navigation Guards.


🛠 Technologies Used

  • Vue.js 3 – Progressive JavaScript framework.
  • Vite – Fast build tool for modern web projects.
  • TypeScript – Strongly typed JavaScript alternative.
  • Vuex – State management pattern and library.
  • Vue Router – Official router for Vue.js applications.
  • Naive UI – Modern UI components for Vue 3.
  • Axios – HTTP client for making API requests.

💻 Recommended IDE Setup


🚀 Project Setup

1️⃣ Clone the Repository

git clone https://github.com/bishworup11/rick-and-morty-api-vue-js.gitcd rick-and-morty-api-vue-js

2️⃣ Install Dependencies

npm install

3️⃣ Setup Environment Variables

Create a.env file in the root directory and add:

VITE_APP_SECRET=secret@123

Note: Never expose sensitive API keys in the frontend.

4️⃣ Run the Development Server

npm run dev

This will start the application locally athttp://localhost:5173/.

5️⃣ Build for Production

npm run build

This generates an optimized production build in thedist/ folder.


📄 API Reference


Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp