-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qr code added to sponsor component, accepting stripe payments
- Loading branch information
0 parents
commit 845fe32
Showing
67 changed files
with
27,080 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules | ||
|
||
/.cache | ||
/build | ||
/public/build | ||
.env | ||
|
||
DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
/** | ||
* This is intended to be a basic starting point for linting in your app. | ||
* It relies on recommended configs out of the box for simplicity, but you can | ||
* and should modify this configuration to best suit your team's needs. | ||
*/ | ||
|
||
/** @type {import('eslint').Linter.Config} */ | ||
module.exports = { | ||
root: true, | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
}, | ||
env: { | ||
browser: true, | ||
commonjs: true, | ||
es6: true, | ||
}, | ||
|
||
// Base config | ||
extends: ['eslint:recommended'], | ||
|
||
overrides: [ | ||
// React | ||
{ | ||
files: ['**/*.{js,jsx,ts,tsx}'], | ||
plugins: ['react', 'jsx-a11y'], | ||
extends: [ | ||
'plugin:react/recommended', | ||
'plugin:react/jsx-runtime', | ||
'plugin:react-hooks/recommended', | ||
'plugin:jsx-a11y/recommended', | ||
], | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
formComponents: ['Form'], | ||
linkComponents: [ | ||
{ name: 'Link', linkAttribute: 'to' }, | ||
{ name: 'NavLink', linkAttribute: 'to' }, | ||
], | ||
}, | ||
}, | ||
|
||
// Typescript | ||
{ | ||
files: ['**/*.{ts,tsx}'], | ||
plugins: ['@typescript-eslint', 'import'], | ||
parser: '@typescript-eslint/parser', | ||
settings: { | ||
'import/internal-regex': '^~/', | ||
'import/resolver': { | ||
node: { | ||
extensions: ['.ts', '.tsx'], | ||
}, | ||
typescript: { | ||
alwaysTryTypes: true, | ||
}, | ||
}, | ||
}, | ||
extends: [ | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:import/recommended', | ||
'plugin:import/typescript', | ||
], | ||
}, | ||
|
||
// Node | ||
{ | ||
files: ['.eslintrc.js'], | ||
env: { | ||
node: true, | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
|
||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
|
||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules | ||
|
||
/.cache | ||
/build | ||
/public/build | ||
.env | ||
|
||
DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Ignore artifacts: | ||
build | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "es5", | ||
"tabWidth": 4, | ||
"semi": true, | ||
"plugins": ["prettier-plugin-tailwindcss"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# syntax = docker/dockerfile:1 | ||
|
||
# Adjust NODE_VERSION as desired | ||
ARG NODE_VERSION=20.10.0 | ||
FROM node:${NODE_VERSION}-slim as base | ||
|
||
LABEL fly_launch_runtime="Remix" | ||
|
||
# Remix app lives here | ||
WORKDIR /app | ||
|
||
# Set production environment | ||
ENV NODE_ENV="production" | ||
|
||
|
||
# Throw-away build stage to reduce size of final image | ||
FROM base as build | ||
|
||
# Install packages needed to build node modules | ||
RUN apt-get update -qq && \ | ||
apt-get install --no-install-recommends -y build-essential node-gyp pkg-config python-is-python3 | ||
|
||
# Install node modules | ||
COPY --link package-lock.json package.json ./ | ||
RUN npm ci --include=dev | ||
|
||
# Copy application code | ||
COPY --link . . | ||
|
||
# Build application | ||
RUN npm run build | ||
|
||
# Remove development dependencies | ||
RUN npm prune --omit=dev | ||
|
||
|
||
# Final stage for app image | ||
FROM base | ||
|
||
# Copy built application | ||
COPY --from=build /app /app | ||
|
||
# Start the server by default, this can be overwritten at runtime | ||
EXPOSE 3000 | ||
CMD [ "npm", "run", "start" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
# Welcome to Military City, USA | ||
|
||
Within our city, there's a notable absence in the field of web development. **devSA** is committed to filling this void by creating a dynamic hub where web developers and software engineers can connect, learn, and grow together | ||
|
||
 | ||
<br /> | ||
|
||
## Pull Request Welcome | ||
|
||
We have activated GitHub Discussions and implemented a structured template for reporting issues and bugs. This enhancement empowers every member of our community to contribute by reporting anomalies or proposing innovative features. | ||
|
||
## Let's collaborate! | ||
|
||
- [ ] **Create a new issue** to discuss your ideas and get feedback from the community. Issue templates are available in the repository. | ||
- [ ] **Fork the repository** and create a new branch for your contributions. | ||
- [ ] **Make your changes** and submit a pull request. | ||
|
||
## Some Ideas for Contributions | ||
|
||
- [ ] **Add a login/logout feature with authentication** | ||
- [ ] **Create an option to receive payments** from the website. Give sponsors the option to donate to the community anonymously or publicly. | ||
- [ ] **Create an events calendar** create option to add/edit/delete events to a calendar. | ||
- [ ] **Create a developer showcase route** on the website to display developers from the community with links to their portfolios and social media profiles. | ||
- [ ] **Create a jobs board** for the website to display job postings from the community. | ||
- [ ] **Add feature: add/edit/delete jobs from the job board** on the website. | ||
|
||
- [ ] **Create a blog** for the website. Should we connect to a headless tool like `hashnode` or keep it simple with `markdown` files? | ||
- [ ] **Add option to add/edit/delete blog posts** on the website. | ||
- [ ] **Create a commerce store** for the website. What data should we collect? How should we process payments? Should we use a headless tool like `Hydrogen`? | ||
|
||
## Getting Started | ||
|
||
Follow these steps to get started : | ||
|
||
### 1. Forking the Repository | ||
|
||
1. Navigate to the repository on GitHub: [Repository Name](https://github.com/devsanantonio/devsa-dotcom). | ||
2. Click on the "Fork" button in the upper-right corner of the GitHub page. | ||
3. This will create a copy of the repository under your GitHub account. | ||
|
||
### 2. Clone the Forked Repository | ||
|
||
```bash | ||
git clone https://github.com/your-username/devsa-dotcom.git | ||
cd devsa-dotcom | ||
``` | ||
|
||
### 3. Create a new Branch for your feature | ||
|
||
Create a new branch for your contributions. Replace `your-feature-branch` with an appropriate branch name. | ||
|
||
```bash | ||
git checkout -b your-feature-branch | ||
``` | ||
|
||
### 4. Make Your Changes | ||
|
||
Make your awesome contributions! Whether it's fixing bugs, adding features, or improving documentation, every contribution is valuable. | ||
|
||
### 5. Commit Changes | ||
|
||
```bash | ||
git add . | ||
git commit -m "Add your commit message here" | ||
``` | ||
|
||
### 6. Push the Branch to GitHub | ||
|
||
```bash | ||
git push origin your-feature-branch | ||
``` | ||
|
||
### 7. Submit a Pull Request from the branch to the main repository | ||
|
||
Go to the [Pull Requests](https://github.com/your-username/devsa-dotcom/pulls) tab and open a new pull request. Provide a clear title and description for your changes. | ||
|
||
## Project Structure | ||
|
||
``` | ||
devsa-dotcom/ | ||
│ | ||
├── app/ | ||
│ ├── .server/ | ||
│ ├── components/ | ||
│ ├── routes/ | ||
│ └── root.tsx | ||
│ | ||
└── ... | ||
``` | ||
|
||
Feel free to explore the projects dependencies in the `package.json` file. The `app` directory contains the source code for the devSA website. The `app/components` directory contains the React components for the website. The `app/routes` directory contains the routes for the website. The `app/root.tsx` file is the entry point for the website. | ||
|
||
## Running the Project | ||
|
||
### 1. Install Dependencies | ||
|
||
```bash | ||
npm install | ||
``` | ||
|
||
### 2. Start the Project | ||
|
||
```bash | ||
npm run dev | ||
``` | ||
|
||
## Resources | ||
|
||
- [devSA Discord](https://https://discord.gg/f3gnmjScW3) | ||
- [Remix](https://remix.run/) | ||
- [React](https://react.dev/) | ||
- [Tailwind CSS](https://tailwindcss.com/) | ||
- [Frame Motion](https://www.framer.com/motion/) | ||
- [Fly.io](https://fly.io/) |
Oops, something went wrong.