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

This is part of my learning experience in AWS

NotificationsYou must be signed in to change notification settings

Sowjanyakambhampati/Community-backend-serverless-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Community Forum Backend - Serverless

This project is a serverless backend for a community forum, built with AWS Lambda, API Gateway, MySQL (RDS), DynamoDB, Cognito for authentication, and S3 for file uploads.

Features

User Authentication (Register/Login using Cognito and JWT)

CRUD Operations for Posts, Events, Products, and Users

File Uploads to S3

MySQL Database on AWS RDS

DynamoDB Caching for frequently accessed data

API Gateway for Routing

Serverless Framework for easy deployment

Prerequisites

Node.js (v18.x or later)

AWS CLI (Configured with valid credentials)

Serverless Framework (npm install -g serverless)

Installation

Clone the repository:

git clonehttps://github.com/your-repo/community-forum-backend.gitcd community-forum-backend

Install dependencies:npm install

Deployment

Deploy the service using:

serverless deploy

Running Locally

To test the service locally:serverless offline

Technologies Used

AWS Lambda (Serverless compute)

AWS API Gateway (Routing and request handling)

AWS RDS (MySQL) (Primary database for structured data)

AWS DynamoDB (Caching frequently accessed data)

AWS Cognito (Authentication and user management)

AWS S3 (File storage)

Node.js with Express-like routing in Serverless framework

API Endpoints

Method

Endpoint

Description

POST

/auth/register

Register a new user

POST

/auth/login

Login and get JWT

POST

/posts

Create a new post

GET

/posts/{id}

Get a post by ID

PUT

/posts/{id}

Update a post

DELETE

/posts/{id}

Delete a post

POST

/upload

Upload a file to S3

About

This is part of my learning experience in AWS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp