Skip to content

Commit

Permalink
add fe code
Browse files Browse the repository at this point in the history
  • Loading branch information
KJES4 committed Jan 6, 2025
1 parent 3770930 commit 0517015
Show file tree
Hide file tree
Showing 31 changed files with 7,429 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
}
36 changes: 36 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
52 changes: 52 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Front-End Starter Template

This is a front-end web application for the Cardano Wyoming stable token poc that was built using [Next.js](https://nextjs.org/), TypeScript, MUI, and Zustand.

## Getting Started

### Running the Application

To get the application running, follow these steps:

1. Clone the repository:
```bash
git clone https://github.com/yourusername/yourrepository.git
```

2. Navigate to the `frontend` folder:
```bash
cd yourrepository/frontend
```

3. Install the necessary packages:
```bash
npm install
```

4. First, run the development server:
```bash
npm run dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

### Project Structure

The template is organized as follows:

- **`frontend`**: The main application directory.
- **`public`**: Contains public assets like HTML and images.
- **`src/app`**: Contains the main source code for the application.
- **`components`**: Reusable React components.
- **`styles`**: Global styles and theme configuration.
- **`store`**: Minimal lightweight store for global variables, functions, and types.


### Deploy on Vercel (optional)

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out the [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

### Contributing

If you have any suggestions or improvements, feel free to open an issue or create a pull request. Contributions are always welcome!
4 changes: 4 additions & 0 deletions frontend/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;
Loading

0 comments on commit 0517015

Please sign in to comment.